This repository was archived by the owner on Jul 10, 2025. It is now read-only.
1.1.6-release.11
·
2 commits
to main
since this release
[+] 兼容性UI可创建应用模板
[+] 模板支持Material You
JSAPI
// 基本
wd.clearCache()
// (实验)void: 清除缓存
wd.clearCookie()
// void: 清除cookie
wd.clearWebStorage()
// void: 清除localstorage
// 文件
wd.openFile(String filePath)
// void: 调用其他应用打开指定文件
// 网络
wd.httpPost(String url, String data, String callback, int symbo)
/**
* void(async): 向url发送POST请求,请求结束后执行JS:
* 当请求成功时:
* callback(String urlencode后的请求结果, int HTTP状态码, int symbo)
* 当请求失败时:
* callback(false, int HTTP状态码, int symbo)
* 当请求出错时:
* callback(false, 0, int symbo)并抛出异常
*
* data的格式为查询字符串格式(a=b&c=d)
*/