Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
如上图:使用的@api.constrains. 个人理解:1、针对装饰器的参数,当参数改变需要抛出异常时,使用此装饰器。
@api.constrains
问题: 1、此方法返回True不加也可以的,加了有什么好处? 2、这里的递归约束可以这样使用吗?
True