导入按钮隐藏,解决打包报错问题

This commit is contained in:
BianLzhaoMin 2024-08-08 18:03:11 +08:00
parent eb4e8c8c13
commit 619abc1808
5 changed files with 94 additions and 98 deletions

View File

@ -1,7 +1,7 @@
{
"name": "bonus",
"version": "3.6.4",
"description": "博诺思管理系统",
"description": "安徽机具管理系统",
"author": "博诺思",
"license": "MIT",
"scripts": {
@ -46,6 +46,7 @@
"file-saver": "2.0.5",
"fuse.js": "6.4.3",
"highlight.js": "9.18.5",
"html-webpack-plugin": "^5.6.0",
"js-beautify": "1.13.0",
"js-cookie": "3.0.1",
"jsencrypt": "3.0.0-rc.1",

View File

@ -7,7 +7,6 @@
<el-button type="primary" @click="handleAddData()"
>新建</el-button
>
<el-button @click="handleImportData()">导入</el-button>
<el-button @click="handleExportData(queryParams)"
>导出</el-button
>
@ -58,10 +57,8 @@ export default {
formLabel,
columnsList,
dialogConfig,
//
addDialogTitle: '新建往来单位',
//
editDialogTitle: '修改往来单位',
addDialogTitle: '新建往来单位', //
editDialogTitle: '修改往来单位', //
}
},
}

View File

@ -7,7 +7,6 @@
<el-button type="primary" @click="handleAddData()"
>新建</el-button
>
<el-button @click="handleImportData()">导入</el-button>
<el-button @click="handleExportData(queryParams)"
>导出</el-button
>

View File

@ -7,7 +7,6 @@
<el-button type="primary" @click="handleAddData()"
>新建</el-button
>
<el-button @click="handleImportData()">导入</el-button>
<el-button @click="handleExportData(queryParams)"
>导出</el-button
>

View File

@ -35,7 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://192.168.2.39:18080`,
target: `http://192.168.2.39:18080`, // 代理的后台ip 端口 解决请求跨域
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''