吴sir 7 달 전
부모
커밋
aa8b20408b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/tariffManagement/index.vue

+ 1 - 1
src/views/tariffManagement/index.vue

@@ -378,7 +378,7 @@ const handleSubmit = ({values, errors}) => {
         })
       }
 
-      if (formState.value.id) {
+      if (formState.value.id!=='') {
         const {code, data} = await updateTariff(formVal)
 
         if (code == 200) {