校验调整

This commit is contained in:
fan 2023-10-12 16:54:55 +08:00
parent 9126ce8dbd
commit b6fe12a81f
4 changed files with 7 additions and 3 deletions

View File

@ -13,7 +13,7 @@
label="设备类型"
:map-options="true"
:emit-value="true"
:rules="[(val) => val != undefind || '设备类型不能为空']"
:rules="[(val) => val != undefined || '设备类型不能为空']"
/>
<q-input
outlined

View File

@ -13,7 +13,7 @@
label="设备类型"
:map-options="true"
:emit-value="true"
:rules="[(val) => val != undefind || '设备类型不能为空']"
:rules="[(val) => val != undefined || '设备类型不能为空']"
/>
<q-input
outlined

View File

@ -13,7 +13,7 @@
label="设备类型"
:map-options="true"
:emit-value="true"
:rules="[(val) => val != '' || '设备类型不能为空']"
:rules="[(val) => val != undefined || '设备类型不能为空']"
/>
<q-input
outlined

View File

@ -305,6 +305,7 @@ const leftMenuConfig = [
label: '一键修改公里标方向',
click: onClickChangeKilometerDirection,
},
{ label: '关联门控箱', click: handleRefGatedBox },
];
onMounted(() => {
@ -508,6 +509,9 @@ function onClickChangeKilometerDirection() {
}
});
}
function handleRefGatedBox() {
const tst = 'p';
}
function oneClickCurvature() {
//
const curvatureDraw = drawStore