feat:js添加importScript

This commit is contained in:
Xwite
2022-03-31 12:22:27 +08:00
parent ab9935fbba
commit 38b9eb3c2f
2 changed files with 38 additions and 0 deletions
+6
View File
@@ -59,6 +59,12 @@ java.ajaxAll(urlList: Array<String>): Array<StrResponse?>
java.log(msg)
java.logType(var)
```
* 从网络(由java.cacheFile实现)、本地导入JavaScript脚本
```
{{java.importScript(url)}}
{{java.importScript(relativePath)}}
{{java.importScript(absolutePath)}}
```
* 缓存网络文件
```
获取