邓洁 : 注释log

This commit is contained in:
邓洁
2023-12-05 10:48:27 +08:00
parent 20f56b5d8d
commit 0612840cdc
27 changed files with 235 additions and 229 deletions

View File

@@ -98,7 +98,7 @@
}
},
onLoad: function(options) {
console.log('detail', options);
// console.log('detail', options);
this.type = options.type
if (options.search == "1") {
this.search = false
@@ -115,13 +115,13 @@
this.showM = true
},
share() {
console.log('分享');
// console.log('分享');
},
getDetail(type, id) {
this.$api.getShopDetail(type, id).then(res => {
const data = res.data.data
if (res.data.code == 1) {
console.log('data.pics', data.pics);
// console.log('data.pics', data.pics);
var arr = [];
var arr1 = [];
let obj = {}
@@ -131,7 +131,7 @@
arr1.push(obj)
})
data.pics = arr1
console.log('arr', arr1);
// console.log('arr', arr1);
data.avatar = this.$api.imgUrl + data.avatar
this.shopInfo = data
}
@@ -144,10 +144,10 @@
uni.makePhoneCall({
phoneNumber: phone,
success: function() {
console.log('拨打电话成功');
// console.log('拨打电话成功');
},
fail() {
console.log('打电话失败了');
// console.log('打电话失败了');
}
})
},