html 监听错误和重定向 console

This commit is contained in:
fofolee
2022-04-29 16:44:10 +08:00
parent 3e3248162f
commit de01de24bb
3 changed files with 29 additions and 17 deletions

View File

@@ -138,7 +138,7 @@ interface quickcommandApi {
* ```
* @param message 显示的消息内容
* @param icon 图标,默认为 success
* @param time 多少毫秒后消失,默认为 3000
* @param time 多少毫秒后消失,默认为 3000,当设为 0 时则需要手动点击关闭
*/
showMessageBox(
message: string,
@@ -352,18 +352,6 @@ interface quickcommandApi {
*/
simulatePaste();
/**
* 读取剪贴板
*/
readClipboard(): text<string>;
/**
* 写入剪贴板
*
* @param text 要写入的文本
*/
writeClipboard(text: string);
/**
* 唤醒 uTools
*