吴sir 7 tháng trước cách đây
mục cha
commit
aa8b20408b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {