Update error messages

This commit is contained in:
2024-02-22 11:46:11 +08:00
parent 07daa9f1bf
commit 98c1c5ed58

View File

@@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name NGA优化摸鱼体验插件-自动同步数据 // @name NGA优化摸鱼体验插件-自动同步数据
// @namespace https://github.com/lifegpc/userscript/tree/master/NGA_BBS_plugins/AutoSyncData // @namespace https://github.com/lifegpc/userscript/tree/master/NGA_BBS_plugins/AutoSyncData
// @version 1.0.2 // @version 1.0.3
// @author lifegpc // @author lifegpc
// @description 通过WebDAV自动同步数据 // @description 通过WebDAV自动同步数据
// @license MIT // @license MIT
@@ -314,7 +314,7 @@
onerror: error => { onerror: error => {
reject(error); reject(error);
this.buttons.forEach(button => button.$el.removeAttr('disabled')) this.buttons.forEach(button => button.$el.removeAttr('disabled'))
this.mainScript.popMsg(`WebDAV请求失败!`, error); this.mainScript.popMsg(`WebDAV请求失败!${error}`);
} }
}) })
}) })