增加疏密界面选择点时发送当前点

This commit is contained in:
shefengchun 2023-02-09 16:57:08 +08:00
parent c35349b6e4
commit 15088f9d5e
1 changed files with 4 additions and 2 deletions

View File

@ -68,7 +68,7 @@
<div>
<div class="row">
<div class="col-1"></div>
<div class="col-2"> <q-select class="q-pt-md" :label="$t('level')" :dense="true" filled v-model="options_model_v" :options="options_v" emit-value
<div class="col-2"> <q-select class="q-pt-md" :label="$t('level')" @update:model-value="(val)=>{now_index=val}" :dense="true" filled v-model="options_model_v" :options="options_v" emit-value
map-options /></div>
<div class="col-2"> <q-input filled type="number" class="q-pt-md" :dense="true"
v-model="value[options_model_v].y" @update:model-value="chang(options_model_v, $event,'v')" lazy-rules />
@ -79,7 +79,7 @@
</div>
<div class="row">
<div class="col-1"></div>
<div class="col-2"> <q-select class="q-pt-md" :label="$t('vertical')" :dense="true" filled v-model="options_model_h" :options="options_h" emit-value
<div class="col-2"> <q-select class="q-pt-md" :label="$t('vertical')" :dense="true" filled v-model="options_model_h" @update:model-value="(val)=>{now_index=val}" :options="options_h" emit-value
map-options /></div>
<div class="col-2"> <q-input filled type="number" class="q-pt-md" :dense="true"
v-model="value[options_model_h].x" @update:model-value="chang(options_model_h, $event,'h')" lazy-rules />
@ -195,6 +195,7 @@ export default defineComponent({
const configselsect = computed(() => {
return $store.state.selected_projector;
});
//
let serverconfig = JSON.parse($store.state.fusion_configuration);
const selectedprojector = computed(() => {
@ -542,6 +543,7 @@ export default defineComponent({
point_postion,
div,
save,
};
},
});