From 54c58d6ee182cf7e17370d288d83509f12e13f08 Mon Sep 17 00:00:00 2001 From: Jason <5340635+wen-jason@user.noreply.gitee.com> Date: Thu, 17 Nov 2022 14:57:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=90=8E=E5=8F=B0=E5=BA=95?= =?UTF-8?q?=E9=83=A8=E5=AF=BC=E8=88=AA=EF=BC=8C=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/components/upload/index.vue | 2 +- admin/src/views/decoration/tabbar.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/src/components/upload/index.vue b/admin/src/components/upload/index.vue index e4925f6f..97b78300 100644 --- a/admin/src/components/upload/index.vue +++ b/admin/src/components/upload/index.vue @@ -79,7 +79,7 @@ export default defineComponent({ setup(props, { emit }) { const userStore = useUserStore() const uploadRefs = shallowRef>() - const action = ref(`${config.baseUrl}${config.urlPrefix}/common/upload/${props.type}`) + const action = ref(`${config.baseUrl}${config.urlPrefix}/upload/${props.type}`) const headers = computed(() => ({ token: userStore.token, version: config.version diff --git a/admin/src/views/decoration/tabbar.vue b/admin/src/views/decoration/tabbar.vue index c1396957..86fd79a2 100644 --- a/admin/src/views/decoration/tabbar.vue +++ b/admin/src/views/decoration/tabbar.vue @@ -188,7 +188,7 @@ const onMove = (e: any) => { const getData = async () => { const data = await getDecorateTabbar() - tabbar.list = data.list.map((item: any) => ({ ...item, link: JSON.parse(item.link) })) + tabbar.list = data.list tabbar.style = data.style } const setData = async () => {