From 50a156e16aaea5fa00bcacca0e4095a985279de3 Mon Sep 17 00:00:00 2001 From: Wayne Date: Mon, 4 Dec 2023 06:51:09 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E8=A8=8A=E9=8C=84=20-=20=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A=E9=A1=9E=E5=88=A5=E5=BE=8C=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Address/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/Address/index.vue b/src/views/Address/index.vue index 462f2e8..f9c98c6 100644 --- a/src/views/Address/index.vue +++ b/src/views/Address/index.vue @@ -24,10 +24,10 @@ onMounted(async () => { addressList.value = res.data; } - getUserCateList(); + getCateList(); }); -const getUserCateList = async () => { +const getCateList = async () => { let res = await getUserCateList(); if (res.code === 200) { columns.value = [columns.value[0], ...res.data]; @@ -103,7 +103,7 @@ const onChangeCateConfirm = async (value) => { let res = await setUserFaviCate({ uf_user_id: changeUserId.value,cate_id : value.selectedValues[1] }); if (res.code === 200) { - getUserCateList(); + getCateList(); showSuccessToast('更新成功') } else { showToast('更新失敗')