Browse Source

fix: 开始测量条件判断

master
guoapeng 2 months ago
parent
commit
9a9af42a02
  1. 4
      src/pages/Measure.tsx

4
src/pages/Measure.tsx

@ -172,7 +172,7 @@ export default function Measure() {
}, [dispatch])
const onSaveClick = () => {
if (!contextState.currOrgCode) {
if (!contextState.currOrgCode || !orgTextArr) {
Dialog.alert({
content: '请选择铁路局/工务段/线路',
onConfirm: () => {
@ -246,7 +246,7 @@ export default function Measure() {
});
return;
}
if (!contextState.currOrgCode) {
if (!contextState.currOrgCode || !orgTextArr) {
Dialog.alert({
content: '请选择铁路局/工务段/线路',
onConfirm: () => {

Loading…
Cancel
Save