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();