xiaohaizhao 1 rok pred
rodič
commit
adca1be594
1 zmenil súbory, kde vykonal 0 pridanie a 25 odobranie
  1. 0 25
      pages/index/collect/index.js

+ 0 - 25
pages/index/collect/index.js

@@ -25,31 +25,6 @@ Component({
 	methods: {
 		init() {
 			this.getList()
-			getApp().globalData.customizedProduct = (item, custom) => {
-				return new Promise((resolve) => {
-					wx.showLoading({
-						title: '修改中...',
-					})
-					_Http.basic({
-						"id": 20220924104302,
-						"content": {
-							"sa_shoppingcartid": item.sa_shoppingcartid,
-							"qty": item.qty,
-							...custom
-						},
-					}).then(res => {
-						console.log("修改定制", res)
-						wx.showToast({
-							title: res.msg != '成功' ? res.msg : '修改成功',
-							icon: "none"
-						});
-						this.getList()
-						resolve(true)
-					})
-				})
-			}
-
-
 			let domainrelatedaccounts = wx.getStorageSync('domainrelatedaccounts');
 			if (domainrelatedaccounts.length) {
 				this.setData({