魔墙:添加实时更新提示
This commit is contained in:
parent
4ecd2ab89d
commit
45e2e4589e
|
@ -620,6 +620,16 @@ export default defineComponent({
|
||||||
let client = GlobalData.getInstance().getCurrentClient();
|
let client = GlobalData.getInstance().getCurrentClient();
|
||||||
if(client){
|
if(client){
|
||||||
const setMagic = await client.setMagicWallConfig(cloud_monitor_list);
|
const setMagic = await client.setMagicWallConfig(cloud_monitor_list);
|
||||||
|
$q.notify({
|
||||||
|
color: setMagic?.success ? "positive" : "negative",
|
||||||
|
icon: setMagic?.success ? "done" : "warning",
|
||||||
|
message:
|
||||||
|
$t.t("update magic wall") +
|
||||||
|
(setMagic?.success ? $t.t("success") : $t.t("fail")) +
|
||||||
|
"!",
|
||||||
|
position: "top",
|
||||||
|
timeout: 2500,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const ar = 0.5;
|
const ar = 0.5;
|
||||||
|
|
Loading…
Reference in New Issue