chore: 移除所有调试日志
This commit is contained in:
@@ -359,9 +359,8 @@ export default {
|
||||
getFenxiaoDetail() {
|
||||
this.$api.sendRequest({
|
||||
url: '/fenxiao/api/fenxiao/detail',
|
||||
success: res => {
|
||||
console.log(res)
|
||||
if (res.data) {
|
||||
success: res => {
|
||||
if (res.data) {
|
||||
if (res.data.status == -1) {
|
||||
this.$util.showToast({
|
||||
title: '当前分销商已冻结'
|
||||
|
||||
@@ -136,12 +136,10 @@ export default {
|
||||
image_list: this.$util.img(this.goodsList[this.currIndex].goods_image)
|
||||
}
|
||||
},
|
||||
success: function (res) {
|
||||
console.log('success', res);
|
||||
},
|
||||
fail: function (res) {
|
||||
console.log('fail', res);
|
||||
}
|
||||
success: function (res) {
|
||||
},
|
||||
fail: function (res) {
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
@@ -312,9 +312,8 @@
|
||||
if (res.code == 0 && res.data.length) {
|
||||
uni.requestSubscribeMessage({
|
||||
tmplIds: res.data,
|
||||
fail: res => {
|
||||
console.log('fail', res);
|
||||
},
|
||||
fail: res => {
|
||||
},
|
||||
complete: () => {
|
||||
callback();
|
||||
}
|
||||
|
||||
@@ -118,7 +118,6 @@
|
||||
this.categoryId = 'category-' + index;
|
||||
// 阻止切换分类之后滚动事件也立即执行
|
||||
this.scrollLock = true;
|
||||
console.log(index)
|
||||
|
||||
// this.goodsList = []
|
||||
// this.getgoodslist()
|
||||
@@ -174,9 +173,8 @@
|
||||
data: {
|
||||
is_type_show:1,
|
||||
},
|
||||
success: res => {
|
||||
console.log( res.data)
|
||||
this.categoryTree = res.data
|
||||
success: res => {
|
||||
this.categoryTree = res.data
|
||||
},
|
||||
fail: () => {
|
||||
this.$util.showToast({
|
||||
|
||||
@@ -164,11 +164,8 @@ export default {
|
||||
id:this.goodsData.id
|
||||
},
|
||||
success: res => {
|
||||
console.log(res)
|
||||
if(res.result.detail){
|
||||
this.goodsData = res.result.detail
|
||||
console.log(this.goodsData.goods_image)
|
||||
}else{
|
||||
this.$util.showToast({
|
||||
title: '商品不存在',
|
||||
});
|
||||
@@ -737,7 +734,6 @@ export default {
|
||||
})
|
||||
|
||||
// 清空规格的图片
|
||||
console.log(this.goodsData)
|
||||
return false
|
||||
for (var i = 0; i < this.goodsData.goods_sku_data.length; i++) {
|
||||
if (this.goodsData.goods_sku_data[i].sku_images.length == 0) this.goodsData.goods_sku_data[i].sku_image = '';
|
||||
@@ -796,9 +792,6 @@ export default {
|
||||
} else if (this.goodsData.verify_validity_type == 2) {
|
||||
data.virtual_indate = this.virtualTime;
|
||||
}
|
||||
|
||||
// console.log(this.goodsData.goods_spec_format,'format')
|
||||
// if(this.goodsData.goods_spec_format == '[]'){
|
||||
// data.carmichael= data.carmichael
|
||||
// }
|
||||
var save = null;
|
||||
|
||||
@@ -150,9 +150,8 @@ export default {
|
||||
data: {
|
||||
merch_id:this.merch_id
|
||||
},
|
||||
success: res => {
|
||||
console.log(res)
|
||||
this.merch = res.data
|
||||
success: res => {
|
||||
this.merch = res.data
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user