站台-是否

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