perf: 安装/更新插件后直接热重载而不重启;更新 plugin 指令

This commit is contained in:
Soulter
2025-03-08 00:20:48 +08:00
parent 9492fcde74
commit a5ffb0f8dc
5 changed files with 66 additions and 43 deletions
+2 -2
View File
@@ -339,7 +339,7 @@ export default {
this.upload_file = "";
this.onLoadingDialogResult(1, res.data.message);
this.dialog = false;
this.$refs.wfr.check();
// this.$refs.wfr.check();
}).catch((err) => {
this.loading_ = false;
this.onLoadingDialogResult(2, err, -1);
@@ -362,7 +362,7 @@ export default {
this.extension_url = "";
this.onLoadingDialogResult(1, res.data.message);
this.dialog = false;
this.$refs.wfr.check();
// this.$refs.wfr.check();
}).catch((err) => {
this.loading_ = false;
this.toast("安装插件失败: " + err, "error");