feat:add js toast

This commit is contained in:
Xwite committed 2022-04-13 10:03:24 +08:00
1 parent 596e6b0550
commit d5e6a5a051
3 files changed
+26 -1

No files matched your search

+5
View File
@@ -68,6 +68,11 @@ java.webView(html: String?, url: String?, js: String?): String
java.log(msg)
java.logType(var)
```
* 弹窗提示
```
java.longToast(msg: Any?)
java.toast(msg: Any?)
```
* 从网络(由java.cacheFile实现)、本地导入JavaScript脚本
```
{{java.importScript(url)}}