From b10f4c41728e17014125f0d813ac93851ac31f41 Mon Sep 17 00:00:00 2001 From: Ironsp <1522278303@qq.com> Date: Tue, 9 Jun 2026 15:23:55 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E5=AE=8C=E5=96=84=E9=A1=B5=E7=A0=81?= =?UTF-8?q?=E6=90=9C=E7=B4=A2,=20=E4=BC=98=E5=8C=96=E6=9B=B4=E6=8D=A2?= =?UTF-8?q?=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/fileList/list.vue | 2 +- src/views/systemList/password/password.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/fileList/list.vue b/src/views/fileList/list.vue index 6f3cff2..be7fe26 100644 --- a/src/views/fileList/list.vue +++ b/src/views/fileList/list.vue @@ -152,7 +152,7 @@ const { queryParams, form, rules } = toRefs(data); /** 查询测试单列表 */ const getList = async (params?: any) => { loading.value = true; - const res = await listDemo(params || queryParams.value); + const res = await listDemo(queryParams.value); demoList.value = res.rows; total.value = res.total; loading.value = false; diff --git a/src/views/systemList/password/password.vue b/src/views/systemList/password/password.vue index 4b875db..8579571 100644 --- a/src/views/systemList/password/password.vue +++ b/src/views/systemList/password/password.vue @@ -70,7 +70,7 @@ const rules = ref({ const submit = async () => { const res = await getUserProfile(); console.log('当前用户信息', res); - if (!user.value.username != res.data.userName) { + if (user.value.username != res.data.user?.userName) { proxy?.$modal.msgError('账号填写错误'); return false; }