revert fix: 修复登录后404接口错误 - 注释后端未实现API调用,添加catch容错处理

- src/api/menu.js: clicMenuCount/getMenuTopEight等4个接口添加catch容错
- src/components/form/index.vue: v-for添加:key (v1.2之前修复)
- src/components/table/index.vue: v-for添加:key (v1.2之前修复)
- src/layout/components/Sidebar/index.vue: 注释clicMenuCount调用
- src/views/welcome.vue: 注释getMenuTopEight/clicMenuCount调用
- vue.config.js: 代理target改为localhost:8080 (v1.2之前修复)

对比四子星(172.16.15.102)线上代码: 92/157 JS chunks内容一致,
源码无实质差异,仅webpack分块不同
This commit is contained in:
2026-07-29 14:27:10 +08:00
parent f475070396
commit c9f38a190c
6 changed files with 24 additions and 27 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<!-- 表格头部按钮 -->
<el-row :gutter="10" style="margin: 0 0 8px 0;">
<template v-if="config && config.tableButton && config.tableButton.top">
<el-col :span="1.5" v-for="(item, index) of config.tableButton.top" :key="item.content || index">
<el-col :span="1.5" v-for="item of config.tableButton.top">
<!-- <el-button :type="item.type" plain size="mini" :icon="item.icon" @click="handleClick(item,{})" :hasPermi="[item.hasPermi]">{{item.content}}</el-button>-->
<el-button style="padding: 7px 6px;" :ref="`${item.content}`" :type="item.type" plain size="mini" :icon="item.icon" @click="handleClick(item,{})" v-if="item && item.hasPermi ? checkPermi([item.hasPermi]) : true">{{item.content}}</el-button>
</el-col>