src/views/powerCabinetControl/components/paramMode.vue
@@ -148,8 +148,9 @@ ...this.params, ...data2, }; this.$layer.msg("读取成功!"); if (showLoad) { this.$layer.msg("读取成功!"); } // 设置按钮可点击 this.setTestFlag = true; } else { @@ -157,7 +158,9 @@ this.initParams(); // 设置按钮不可点击 this.setTestFlag = false; this.$layer.msg("读取失败!"); if (showLoad) { this.$layer.msg("读取失败!"); } } // 关闭等待框 this.$layer.close(loading); @@ -170,7 +173,9 @@ this.setTestFlag = false; // 关闭等待框 this.$layer.close(loading); this.$layer.msg("读取失败,读取请求异常!"); if (showLoad) { this.$layer.msg("读取失败,读取请求异常!"); } }); }, // 提交表单设置参数