删除不必要的代码
This commit is contained in:
parent
899fdc5e66
commit
966fe44583
|
@ -19,7 +19,7 @@
|
||||||
<div>
|
<div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-1"></div>
|
<div class="col-1"></div>
|
||||||
<div class="col-2 q-px-md" @mouseenter="is_active=true" @mousewheel="details_selsect"> <q-select class="q-pt-md" :label="$t('point')" :dense="true" filled
|
<div class="col-2 q-px-md" @mousewheel="details_selsect"> <q-select class="q-pt-md" :label="$t('point')" :dense="true" filled
|
||||||
v-model="options_model" @update:model-value="(val) => { options_model = val }" :options="options" emit-value
|
v-model="options_model" @update:model-value="(val) => { options_model = val }" :options="options" emit-value
|
||||||
map-options /></div>
|
map-options /></div>
|
||||||
<div class="col-2 q-px-md" @mousewheel="details_selsect_val($event,'x')"> <q-input filled type="number" class="q-pt-md" :dense="true"
|
<div class="col-2 q-px-md" @mousewheel="details_selsect_val($event,'x')"> <q-input filled type="number" class="q-pt-md" :dense="true"
|
||||||
|
@ -362,9 +362,7 @@ export default defineComponent({
|
||||||
* 滚轮切换
|
* 滚轮切换
|
||||||
* @param details
|
* @param details
|
||||||
*/
|
*/
|
||||||
const is_active=ref(false);
|
|
||||||
const details_selsect=(details:any) => {
|
const details_selsect=(details:any) => {
|
||||||
if(is_active){
|
|
||||||
let spt=details.deltaY/100
|
let spt=details.deltaY/100
|
||||||
if(spt>0){
|
if(spt>0){
|
||||||
if(options_model.value>=value_point.value.length-1){
|
if(options_model.value>=value_point.value.length-1){
|
||||||
|
@ -381,7 +379,6 @@ export default defineComponent({
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 滚轮改变数据
|
* 滚轮改变数据
|
||||||
|
@ -411,7 +408,6 @@ export default defineComponent({
|
||||||
options_model,
|
options_model,
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
is_active,
|
|
||||||
details_selsect,
|
details_selsect,
|
||||||
resetall,
|
resetall,
|
||||||
div,
|
div,
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-1"></div>
|
<div class="col-1"></div>
|
||||||
<div class="col-2 q-px-md" @mouseenter="is_active=true" @mousewheel="details_selsect"> <q-select class="q-pt-md" :label="$t('point')" :dense="true" filled
|
<div class="col-2 q-px-md" @mousewheel="details_selsect"> <q-select class="q-pt-md" :label="$t('point')" :dense="true" filled
|
||||||
v-model="options_model" @update:model-value="(val) => { options_model = val }" :options="options" emit-value
|
v-model="options_model" @update:model-value="(val) => { options_model = val }" :options="options" emit-value
|
||||||
map-options /></div>
|
map-options /></div>
|
||||||
<div class="col-2 q-px-md" @mousewheel="details_selsect_val($event,'x')"> <q-input v-if="value[options_model]" filled type="number" class="q-pt-md" :dense="true"
|
<div class="col-2 q-px-md" @mousewheel="details_selsect_val($event,'x')"> <q-input v-if="value[options_model]" filled type="number" class="q-pt-md" :dense="true"
|
||||||
|
@ -641,9 +641,7 @@ export default defineComponent({
|
||||||
* 滚轮切换
|
* 滚轮切换
|
||||||
* @param details
|
* @param details
|
||||||
*/
|
*/
|
||||||
const is_active=ref(false);
|
|
||||||
const details_selsect=(details:any) => {
|
const details_selsect=(details:any) => {
|
||||||
if(is_active){
|
|
||||||
let spt=details.deltaY/100
|
let spt=details.deltaY/100
|
||||||
if(spt>0){
|
if(spt>0){
|
||||||
if(options_model.value>=value_point.value.length-1){
|
if(options_model.value>=value_point.value.length-1){
|
||||||
|
@ -659,7 +657,6 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -690,7 +687,6 @@ export default defineComponent({
|
||||||
options_model,
|
options_model,
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
is_active,
|
|
||||||
details_selsect,
|
details_selsect,
|
||||||
resetall_all,
|
resetall_all,
|
||||||
resetall,
|
resetall,
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
|
|
||||||
<div class="col-12" style="text-align: center">
|
<div class="col-12" style="text-align: center">
|
||||||
{{
|
{{
|
||||||
$t("Whether to enable integration")
|
$t("Enable projection mode")
|
||||||
}}<q-checkbox v-model="EnableBlending" />
|
}}<q-checkbox v-model="EnableBlending" />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-3 q-px-md"> <q-select class="q-pt-md " :label="$t('change resolution')"
|
<div class="col-3 q-px-md"> <q-select class="q-pt-md " :label="$t('change resolution')"
|
||||||
|
|
Loading…
Reference in New Issue