修复指令下发时变成字符串的问题

This commit is contained in:
shefengchun 2023-01-13 17:10:30 +08:00
parent e229f9acb3
commit bd8be8954a
1 changed files with 3 additions and 3 deletions

View File

@ -302,7 +302,7 @@ export default defineComponent({
$store.getters.GetTheCurrentlySelectedCamera[0],
$store.getters.GetTheCurrentlySelectedCamera[1],
arr[group.value],
array[arr[group.value]].alpha
Number(array[group.value].alpha)
);
}
if (type == "p") {
@ -311,7 +311,7 @@ export default defineComponent({
$store.getters.GetTheCurrentlySelectedCamera[0],
$store.getters.GetTheCurrentlySelectedCamera[1],
arr[group.value],
array[arr[group.value]].p
Number(array[group.value].p)
);
}
if (type == "gamma") {
@ -320,7 +320,7 @@ export default defineComponent({
$store.getters.GetTheCurrentlySelectedCamera[0],
$store.getters.GetTheCurrentlySelectedCamera[1],
arr[group.value],
array[arr[group.value]].gamma
Number(array[group.value].gamma)
);
}
save_set_cache();