调整设备管理接口于页面,增加HeaderBar管理员和用户分类,运用本地缓存

This commit is contained in:
Ran_Chen
2025-04-02 17:39:49 +08:00
parent 8856f7efa6
commit 50d7627b81
5 changed files with 76 additions and 27 deletions
@@ -56,10 +56,16 @@ export default {
this.loading = false;
if (data.code === 0) {
this.$emit('refresh');
this.$message.success('设备绑定成功');
this.$message.success({
message: '设备绑定成功',
showClose: true
});
this.closeDialog();
} else {
this.$message.error(data.msg || '绑定失败');
this.$message.error({
message: data.msg || '绑定失败',
showClose: true
});
}
}
);