吴sir 5 months ago
parent
commit
aa8b20408b
1 changed files with 1 additions and 1 deletions
  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) {