站台-是否

This commit is contained in:
joylink_zhaoerwei 2023-12-21 17:23:53 +08:00
parent f2a59743cb
commit cc9e593916

View File

@ -10,16 +10,14 @@
lazy-rules lazy-rules
autogrow autogrow
/> />
<q-select <q-toggle
outlined
@blur="onUpdate"
v-model="platformModel.hasdoor" v-model="platformModel.hasdoor"
:options="optionsDoor"
label="是否有屏蔽门" label="是否有屏蔽门"
map-options
emit-value emit-value
@update:model-value="onUpdate"
/> />
<q-select <q-select
v-if="platformModel.hasdoor"
outlined outlined
@blur="onUpdate" @blur="onUpdate"
v-model="platformModel.direction" v-model="platformModel.direction"
@ -105,10 +103,6 @@ const sectionName = computed(() => {
} }
return ''; return '';
}); });
const optionsDoor = [
{ label: '是', value: true },
{ label: '否', value: false },
];
const optionsDirection = [ const optionsDirection = [
{ label: '向上', value: 'up' }, { label: '向上', value: 'up' },
{ label: '向下', value: 'down' }, { label: '向下', value: 'down' },