YZM 1 year ago
parent
commit
524b20b28a
2 changed files with 12 additions and 12 deletions
  1. 1 1
      pages/chuanghome/index.vue
  2. 11 11
      pages/luru/index.vue

+ 1 - 1
pages/chuanghome/index.vue

@@ -120,7 +120,7 @@ export default {
 			],
 			show:0,
 			reqData:{
-				wardrode_no:'6943819164690',
+				wardrode_no:'',
 				familyname:'',
 				role:[{
 					username:'',

+ 11 - 11
pages/luru/index.vue

@@ -281,17 +281,17 @@ export default {
 			}
 			console.log(that.arrbig)
 			// that.reqData.image=that.koutu;
-			// myRequest({
-			// 	url: "/api/Goods/addGodds",
-			// 	method:'post',
-			// 	data:that.reqData
-			// }).then(res => {
-			// 	if (res.data.code == 200) {
-			// 		that.active=3;
-			// 	}else{
-			// 		that.$refs.toast.show({model:'error',label:res.data.msg})
-			// 	}
-			// })
+			myRequest({
+				url: "/api/Goods/addGodds",
+				method:'post',
+				data:that.arrbig
+			}).then(res => {
+				if (res.data.code == 200) {
+					that.active=3;
+				}else{
+					that.$refs.toast.show({model:'error',label:res.data.msg})
+				}
+			})
 		}
 	},
 }