From 35d5a3fdb91b2ff871fc030047ad2339885328c1 Mon Sep 17 00:00:00 2001 From: miao <2514145421@qq.com> Date: Wed, 4 Jan 2023 09:21:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AD=94=E5=A2=99=EF=BC=9A=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8F=90=E7=A4=BA=E4=BB=A5=E5=8F=8A=E7=BC=A9?= =?UTF-8?q?=E6=94=BE=E7=9A=84=E6=AD=A5=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ControlPanelDialog.vue | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/ControlPanelDialog.vue b/src/components/ControlPanelDialog.vue index ae3f2b1..5b31d2a 100644 --- a/src/components/ControlPanelDialog.vue +++ b/src/components/ControlPanelDialog.vue @@ -241,9 +241,9 @@ markers switch-marker-labels-side label-always - :min="0.1" + :min="0.10" :max="2" - :step="0.1" + :step="0.05" />
onDragend(evt, item, j)" > {{ test_monitor_list[(item - 1) * 4 + (j - 1)].uuid }} + W:{{ test_monitor_list[(item - 1) * 4 + (j - 1)].w }} + H:{{ test_monitor_list[(item - 1) * 4 + (j - 1)].h }}
{{ test_monitor_list[(item - 1) * 4 + (j - 1)].uuid }} + W:{{ test_monitor_list[(item - 1) * 4 + (j - 1)].w }} + H:{{ test_monitor_list[(item - 1) * 4 + (j - 1)].h }}
@@ -620,16 +625,18 @@ export default defineComponent({ let client = GlobalData.getInstance().getCurrentClient(); if(client){ const setMagic = await client.setMagicWallConfig(cloud_monitor_list); - $q.notify({ + if(setMagic?.success){ + $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")) + + $t.t("fail") + "!", position: "top", timeout: 2500, }); + } } }; const ar = 0.5;