From eeef8e209b0ad4cbfa84a0ad9602d04ccaf22f1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Mon, 9 Sep 2024 12:09:20 +0800 Subject: [PATCH] =?UTF-8?q?/submission=20=E9=A1=B5=E9=9D=A2=E4=BB=B6?= =?UTF-8?q?=E5=BC=95=E7=94=A8=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/about/components/detail.vue | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/views/about/components/detail.vue b/src/views/about/components/detail.vue index 2a3ff83..81aeefc 100644 --- a/src/views/about/components/detail.vue +++ b/src/views/about/components/detail.vue @@ -21,24 +21,19 @@ import {toDateString} from "ele-admin-pro"; import {ref, unref, watch} from "vue"; import {Design} from "@/api/cms/design/model"; -import {getDesign, getNavigationByPath, listDesign} from "@/api/cms/design"; +import {getNavigationByPath} from "@/api/cms/design"; import {useThemeStore} from "@/store/modules/theme"; import {storeToRefs} from "pinia"; import {useRouter} from "vue-router"; import useFormData from "@/utils/use-form-data"; -import { HomeOutlined, UserOutlined } from '@ant-design/icons-vue'; +import { HomeOutlined } from '@ant-design/icons-vue'; import {openUrl} from "@/utils/common"; const { currentRoute } = useRouter(); const themeStore = useThemeStore(); const { screenWidth, styleResponsive } = storeToRefs(themeStore); const list = ref([]); -const activeKey = ref('1'); -const newsBg3 = ref(''); -const pageId = ref(0); const pagePath = ref(); -const currentPage = ref(1); -const total = ref(); // 表单数据 const { form,assignFields } = useFormData({ @@ -63,9 +58,7 @@ reload(); watch( currentRoute, (route) => { - console.log(route,'1111') const { path } = unref(route); - console.log(path,'path') if(path){ pagePath.value = path; reload();