docs: 更新js文档

This commit is contained in:
Xwite
2022-04-05 19:11:56 +08:00
committed by GitHub
parent a4ad5f30ad
commit a47cae00af

View File

@@ -62,6 +62,7 @@ java.logType(var)
* 从网络(由java.cacheFile实现)、本地导入JavaScript脚本
```
{{java.importScript(url)}}
//相对路径支持android/data/{package}/cache
{{java.importScript(relativePath)}}
{{java.importScript(absolutePath)}}
```
@@ -238,4 +239,4 @@ cache.delete(key)
cache.putFile(key, value, saveTime)
读取文件内容
cache.getFile(key)
```
```