跳至内容
菜单
此问题已终结

Hello everyone,

How we can return value with warning with api coding standard.

I have used this decorator.

     api.onchange('fields')


1) returned the warning using Warning class. before write the value of fields using self couldn't work.

2) Used the old standard , return the dictionary with both information togather, values and warning doesn't works.


Is there any ways to achieve this in v8 coding standard. in old coding standard its working perfectly, I believe it should also work in v8.  does anybody has idea about this?

Thanks in advance,

Anil.



形象
丢弃
相关帖文 回复 查看 活动
3
8月 23
7026
1
5月 17
10088
2
1月 16
5248
3
12月 22
7738
4
2月 16
4574