From e18104dd66df5e33bd1a7cf653957855d9cfa759 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Mon, 3 Mar 2025 19:32:52 +0800 Subject: [PATCH] no message --- base-vue/src/views/modules/sys/dict-add-or-update.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base-vue/src/views/modules/sys/dict-add-or-update.vue b/base-vue/src/views/modules/sys/dict-add-or-update.vue index ecb7e8a..f65b5ae 100644 --- a/base-vue/src/views/modules/sys/dict-add-or-update.vue +++ b/base-vue/src/views/modules/sys/dict-add-or-update.vue @@ -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) {