We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码如下
int _getIT() { return [ 2401, 2502, ].indexOf(_getInfoType()); } int _getInfoType() { if (item != null && item['infoType'] != null) { return item['infoType']; } return -1; }
生成的 methodMap 应该是错的,或者说不应该有。
"methodMap": { "_getIT": { "pa": [ "%(_getInfoType)" ] } }
The text was updated successfully, but these errors were encountered:
看起来是 indexOf 的锅,换一种写法就好了。只能用if else
Sorry, something went wrong.
我的方法不知道为什么不进methodMap里面
你试着检查一下这里是不是类型不匹配
No branches or pull requests
代码如下
生成的 methodMap 应该是错的,或者说不应该有。
The text was updated successfully, but these errors were encountered: