@ -151,14 +151,13 @@
if (result.code != 200) {
Message.error("操作失败");
this.swicthLight =!e
console.log(this.swicthLight)
return;
}
this.$modal.msgSuccess(text + "成功");
this.swicthLight=e
setTimeout(() => {
this.AddMethods();
}, 1000);
}, 3000);
}).catch((error)=>{
console.error('请求失败:', error);
this.swicthLight = !e;
@ -60,6 +60,10 @@ export const searchFormList = [
key: 16,
label: "远端机",
},
{
key: 17,
label: "一体机柜",
],