Commit d8920e5d authored by “yiyousong”'s avatar “yiyousong”

perf: 优化部门管理

parent 5ccf12d5
......@@ -94,7 +94,7 @@ export default {
},
action: {
type: String,
default: "/api/base/file/commonupload",
default: "/base/file/commonupload",
},
},
......
......@@ -296,6 +296,8 @@ export default {
// 站点事项搜索
onSearchMatter() {
this.siteMatterTable.page = 1;
this.matterKeys = [];
this.matterRows = [];
this.getSiteMatterData();
},
// 获取窗口事项列表
......@@ -408,7 +410,7 @@ export default {
let { code, msg } = res.data;
if (code === 1) {
_this.$message.success(msg);
this.allDel = [];
this.allDel = "";
_this.getWindowmatterData();
}
},
......
......@@ -31,8 +31,8 @@ const assetsCDN = {
],
};
const BundleAnalyzerPlugin = require("webpack-bundle-analyzer")
.BundleAnalyzerPlugin;
const BundleAnalyzerPlugin =
require("webpack-bundle-analyzer").BundleAnalyzerPlugin;
module.exports = {
publicPath: "./",
outputDir: "dist",
......@@ -49,6 +49,10 @@ module.exports = {
},
// cookieDomainRewrite: 'localhost',
},
"/base": {
target: process.env.VUE_APP_API_BASE_URL,
changeOrigin: true,
},
"/file": {
//此处要与 /services/api.js 中的 API_PROXY_PREFIX 值保持一致
target: process.env.VUE_APP_API_BASE_URL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment