删除不必要的代码
This commit is contained in:
parent
899fdc5e66
commit
966fe44583
|
@ -19,7 +19,7 @@
|
|||
<div>
|
||||
<div class="row">
|
||||
<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
|
||||
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"
|
||||
|
@ -362,9 +362,7 @@ export default defineComponent({
|
|||
* 滚轮切换
|
||||
* @param details
|
||||
*/
|
||||
const is_active=ref(false);
|
||||
const details_selsect=(details:any) => {
|
||||
if(is_active){
|
||||
let spt=details.deltaY/100
|
||||
if(spt>0){
|
||||
if(options_model.value>=value_point.value.length-1){
|
||||
|
@ -380,7 +378,6 @@ export default defineComponent({
|
|||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -411,7 +408,6 @@ export default defineComponent({
|
|||
options_model,
|
||||
});
|
||||
return {
|
||||
is_active,
|
||||
details_selsect,
|
||||
resetall,
|
||||
div,
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<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
|
||||
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"
|
||||
|
@ -641,9 +641,7 @@ export default defineComponent({
|
|||
* 滚轮切换
|
||||
* @param details
|
||||
*/
|
||||
const is_active=ref(false);
|
||||
const details_selsect=(details:any) => {
|
||||
if(is_active){
|
||||
let spt=details.deltaY/100
|
||||
if(spt>0){
|
||||
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,
|
||||
});
|
||||
return {
|
||||
is_active,
|
||||
details_selsect,
|
||||
resetall_all,
|
||||
resetall,
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
<div class="col-12" style="text-align: center">
|
||||
{{
|
||||
$t("Whether to enable integration")
|
||||
$t("Enable projection mode")
|
||||
}}<q-checkbox v-model="EnableBlending" />
|
||||
</div>
|
||||
<div class="col-3 q-px-md"> <q-select class="q-pt-md " :label="$t('change resolution')"
|
||||
|
|
Loading…
Reference in New Issue