Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
比如我建了一个项目名称叫hello,里面有main.js和UI.js,那么我在main里面读取UI.js文件: engines.execScript("UI",files.read("UI.js")); 安装在手机上以后,读取时报错。 另外一种方式是: engines.execScriptFile("UI.js"); 也会报错。
请问下,UI.js要加路径名吗,该怎么加呢?谢谢。
好像 ./ui.js 这样表示在当前目录下读取 ui.js