docs: 更新js文档

pull/1753/head
Xwite 3 years ago committed by GitHub
parent a4ad5f30ad
commit a47cae00af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/src/main/assets/help/jsHelp.md

@ -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)
```
```

Loading…
Cancel
Save