吴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)
         const {code, data} = await updateTariff(formVal)
 
 
         if (code == 200) {
         if (code == 200) {