@@ -19,9 +19,9 @@ const devPathSrc = path.resolve(__dirname, "../../../src"); // node_modules应
// let devModules = ["index", "statisticalReport", "appoint", "TMS"];
// let devModules = ["index", "statisticalReport", "TMS", "appoint"];
-let devModules = ["all"];
+// let devModules = ["all"];
-// let devModules = ["index", "appoint", "statisticalReport", "WMS","TMS","inward","RMS"];
+let devModules = ["index", "appoint", "statisticalReport", "WMS","TMS","inward","RMS"];
// let devModules = ["index", "appoint", "statisticalReport", "WMS","TMS"];
// let devModules = ["index", "inward", "appoint", "queue"];
@@ -65,14 +65,14 @@ let proxyTable = {
},
// 所有数据的请求域名地址
"/api/v1": {
- target: "http://172.16.33.166:80",
+ target: "http://localhost:8080",
ws: true,
pathRewrite: {
"^/api/v1": "/api/v1"
}
"/views/api/v1": {
"^/views/api/v1": "/api/v1"
@@ -265,9 +265,9 @@ export default {
beforeUpload(file) {
this.upBool = true;
- const isLt2M = file.size < 1024 * 1024 * 0.5;
+ const isLt2M = file.size < 1024 * 1024 * 1;
if (!isLt2M) {
- this.$message.error("上传文件大小不能超过500kb!");
+ this.$message.error("上传文件大小不能超过1M!");
} else {
let size = file.size / 1024;
let _URL = window.URL || window.webkitURL;