@@ -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) {