魔墙:修改更新提示以及缩放的步长
This commit is contained in:
parent
5f9ab983e0
commit
35d5a3fdb9
|
@ -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"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
@ -374,6 +374,7 @@
|
|||
background-color: grey;
|
||||
border: 1px solid black;
|
||||
text-align: center;
|
||||
font-size: {{ percenter }};
|
||||
"
|
||||
:style="{
|
||||
width: box_width(item, j),
|
||||
|
@ -390,6 +391,8 @@
|
|||
@dragend="(evt) => 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 }}
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
@ -419,6 +422,8 @@
|
|||
@dragend="(evt) => 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 }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -620,17 +625,19 @@ export default defineComponent({
|
|||
let client = GlobalData.getInstance().getCurrentClient();
|
||||
if(client){
|
||||
const setMagic = await client.setMagicWallConfig(cloud_monitor_list);
|
||||
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;
|
||||
const br = 0.6;
|
||||
|
|
Loading…
Reference in New Issue