From 1abc0a4e474c1fa46be619986f5ab33866926b07 Mon Sep 17 00:00:00 2001 From: zhangjialei Date: Wed, 16 Apr 2025 16:36:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E9=99=A4=E4=BA=86=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=85=B6=E4=BB=96=E8=BF=94=E5=9B=9E=E7=9A=84=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E7=B1=BB=E5=9E=8B=E9=83=BD=E6=98=AFstring=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2=EF=BC=8C=E4=B8=8D=E6=98=AFnum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/vue/vue3.2.2/src/views/Customer.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/vue/vue3.2.2/src/views/Customer.vue b/code/vue/vue3.2.2/src/views/Customer.vue index fbd75ff92..22ec6c0a7 100644 --- a/code/vue/vue3.2.2/src/views/Customer.vue +++ b/code/vue/vue3.2.2/src/views/Customer.vue @@ -287,9 +287,9 @@ const handleEdit = async () => { return } - // 调用接口 + // 调用接口 接口除了查询其他返回的格式类型都是string字符串,不是num const res = await updateUserInfo(editForm.value) - if (res == 100) { + if (res == "100") { ElMessage.success('修改成功') editDialogVisible.value = false initGetUsersList() // 刷新列表