no message

This commit is contained in:
2025-03-03 19:32:52 +08:00
parent f436ae7e61
commit e18104dd66

View File

@@ -51,7 +51,7 @@
if (valid) {
this.$http({
url: this.$http.adornUrl('/api/dict'),
method: !this.dataForm.dict_id ? 'put' :'post',
method: this.dataForm.dict_id !== null ? 'put' :'post',
data: this.$http.adornData(this.dataForm)
}).then(({data}) => {
if (data && data.code === 200) {