autojs
autojs copied to clipboard
蚂蚁森林可以收能量,向导运行报错了,求教master
日志
10:52:14.519/E: ReferenceError: "activity" is not defined. (ui.js#15) at script(ui.js:15) at script.showSettings(<蚂蚁森林设置向导>:23) at script(<蚂蚁森林设置向导>:106)
什么版本的Autojs
可尝试4.0.4 alpha7
谢谢,我试试
目前最新版是4.0.4 alpha 10
另外脚本的第一行有"ui";
吗
是把ui模式写到了另外单独的js文件里吗
第一行有"ui";~
这么高的版本是去哪里找的,我只在hyb1996/Auto.js的页面里找到 4.0.4Alpha6 @hyb1996 hyb1996 released this 25 days ago
autojs的QQ群里
On November 19, 2018 15:16:40 xirijn [email protected] wrote:
第一行有"ui";~ 这么高的版本是去哪里找的,我只在hyb1996/Auto.js的页面里找到 4.0.4Alpha6 @hyb1996 hyb1996 released this 25 days ago — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
@xirijn 这个问题一定是因为"ui";
没有写好。"ui";
应该放在代码的第一行的第一个位置,前面不能有包括空格、注释的任何东西
@hyb1996 请问大大在哪能全面学习ui模式呢,官方文档没有写完,灰常感谢 :smile:
@xirijn 这个问题一定是因为
"ui";
没有写好。"ui";
应该放在代码的第一行的第一个位置,前面不能有包括空格、注释的任何东西
谢谢!我再检查一下
确实,我在另一个项目里也遇到这个问题,前几行写了注释。 我把"ui";写第一行就没问题了