shish 2 лет назад
Родитель
Сommit
f13e7dc995
2 измененных файлов с 14 добавлено и 14 удалено
  1. 12 12
      pt/src/views/item/list.vue
  2. 2 2
      pt/vue.config.js

+ 12 - 12
pt/src/views/item/list.vue

@@ -250,12 +250,12 @@ export default {
 				classId: '',
 				className: '',
 				cover: '',
-				bigUnitId: '',
-				bigUnit: '',
-				smallUnitId: '',
-				smallUnit: '',
-				stockWarning:'',
-				weight:'',
+				bigUnitId: 1,
+				bigUnit: '',
+				smallUnitId: 2,
+				smallUnit: '',
+				stockWarning:5,
+				weight:1,
 				inTurn:100,
 				ratio:'',
 				ratioType:0,
@@ -510,13 +510,13 @@ export default {
 					name: '',
 					classId:'',
 					cover: '',
-					bigUnitId: '',
-					bigUnit: '',
-					smallUnitId: '',
-					smallUnit: '',
-					stockWarning:'',
+					bigUnitId: 1,
+					bigUnit: '',
+					smallUnitId: 2,
+					smallUnit: '',
+					stockWarning:5,
 					className:'',
-					weight:'',
+					weight:1,
 					inTurn:100,
 					ratio:'',
 					ratioType:0,

+ 2 - 2
pt/vue.config.js

@@ -3,13 +3,13 @@ const path = require('path');
 const isProduction = process.env.NODE_ENV === 'production';
 
 //http和https切换请修改这里,修改后需要重新运行 npm run serve 即可 shish 2021.4.12
-const proxyTarget = 'https://api.pt.wixhb.com';
+const proxyTarget = 'http://api.pt.huaml.com';
 
 function resolve(dir) {
 	return path.join(__dirname, dir);
 }
 
-let hostUrl = 'https://img.wixhb.com/';
+let hostUrl = 'http://img.hzghd.com/';
 
 const cdn = {
 	dev: {