diff --git a/app/src/main/assets/help/jsHelp.md b/app/src/main/assets/help/jsHelp.md index 40c368d58..b6b0a3c79 100644 --- a/app/src/main/assets/help/jsHelp.md +++ b/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) -``` \ No newline at end of file +```