diff --git a/src/views/report/index.vue b/src/views/report/index.vue index 6759e19..4f301dc 100644 --- a/src/views/report/index.vue +++ b/src/views/report/index.vue @@ -51,6 +51,11 @@ const jumpTo = (key: string, qid: number = 0) => { } } +// 导出数据 +const exportData = () => { + window.$message?.info('待确定') +} + // 获取数据 const getData = async () => { loading.value = true; @@ -60,7 +65,6 @@ const getData = async () => { }); if(!error){ homeData.value = data; - console.log(data) } loading.value = false; } @@ -85,7 +89,7 @@ onMounted(() => { :ghost="range === p.value ? false : true" :type="range === p.value ? 'primary' : 'default'" >{{ p.label }} - + 导出 diff --git a/src/views/systemManage/role/index.vue b/src/views/systemManage/role/index.vue index 4f92bf0..2965ef6 100644 --- a/src/views/systemManage/role/index.vue +++ b/src/views/systemManage/role/index.vue @@ -185,7 +185,6 @@ const filterRoutes = (routes:any) => { const getAllRoutes = () => { // 过滤路由 const result = filterRoutes(router.getRoutes()); - console.log(router.getRoutes()); // 过滤一级路由 const filtered = result.filter((route:any) => { // 计算 path 中 '/' 的个数