feat:add js toast

This commit is contained in:
Xwite
2022-04-13 10:03:24 +08:00
parent 596e6b0550
commit d5e6a5a051
3 changed files with 26 additions and 1 deletions
+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)}}