perf: 安装/更新插件后直接热重载而不重启;更新 plugin 指令
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user