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;