吴sir hace 5 meses
padre
commit
aa8b20408b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) {