Commit a7e1cc4c by mamingqun

去掉了一些console

parent 7e131677
......@@ -88,7 +88,6 @@ export default {
axios.post('/contest/user/image/del', {
id: this.dataV.id
}).then((res) => {
console.log(res.data.code === 0);
if (res.data.code === 0) {
Toast({ message: '删除成功' });
$eventbus.$emit('detelItem')
......
......@@ -144,8 +144,6 @@ export default {
}
})
.then(res => {
// console.log('请求的回调');
// console.log(res);
var res = res.data.data;
var listArr = [
......@@ -158,9 +156,6 @@ export default {
'onMenuShareQZone'
];
// console.log('res.data.data');
// console.log(res);
wx.config({
debug: false, // 开启调试模式,
appId: res.appId, // 必填,企业号的唯一标识,此处填写企业号corpid
......@@ -402,9 +397,6 @@ export default {
point: this.dianzanParam
})
.then(res => {
// console.log('成功返回');
console.log('返回值');
console.log(res);
if (res.data.code === 0) {
this.pictureInfo = res.data.data;
......
......@@ -27,7 +27,6 @@ export default {
},
methods: {
closeFuceng() {
// console.log(123123);
$eventbus.$emit('closeFuceng')
}
}
......
......@@ -197,12 +197,9 @@ export default {
computed: {
pictureTime() {
if (this.image_time) {
// console.log(this.image_time);
var myDate = new Date(this.image_time);
// console.log(myDate);
var year = myDate.getFullYear() + '年';
var month = myDate.getMonth() + 1 + '月';
var date = myDate.getDate() + '日';
......@@ -260,8 +257,6 @@ export default {
sizeType: ['compressed'], // 可以指定是原图还是压缩图,默认二者都有
sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有
success: function (res) {
// alert('进入chooseImage的success回调');
// console.log('进入chooseImage的success回调');
vm.imgUrls = res.localIds;
wx.getLocalImgData({
......@@ -369,9 +364,6 @@ export default {
content: this.base64[0]
})
.then(res => {
console.log('上传res');
console.log(res.data);
if (res.data.code === 0) {
this.small_image = res.data.data.small_image;
this.big_image = res.data.data.big_image;
......@@ -384,16 +376,9 @@ export default {
});
},
fabu() {
// if (!this.big_image && !this.base64.length) {
console.log('this.big_image');
console.log(this.big_image);
// console.log('image_time');
// var time = this.image_time;
// console.log(typeof time);
// console.log(time);
// console.log(time['Date']);
if (this.fabuLock) {
this.fabuLock = false;
setTimeout(() => {
......@@ -446,8 +431,6 @@ export default {
image_time: this.pictureTime
})
.then(res => {
console.log('发布的res');
console.log(res);
if (res.data.code === 0) {
Toast({
......@@ -490,9 +473,6 @@ export default {
.then(res => {
var res = res.data.data;
console.log('上传的res.data.data');
console.log(res);
wx.config({
debug: false, // 开启调试模式,
appId: res.appId, // 必填,企业号的唯一标识,此处填写企业号corpid
......@@ -541,8 +521,7 @@ export default {
axios.post('/contest/base/upload', {
content: this.base64[0]
}).then(res => {
console.log('发给服务serverid');
console.log(res);
if (res.data.code === 0) {
vm.small_image =
res.data.data.small_image;
......
......@@ -447,8 +447,6 @@ export default {
}
})
.then(res => {
console.log('入围res');
console.log(res);
var arr = res.data.data.data;
var newArr = this.addSrc(arr);
......@@ -676,7 +674,6 @@ export default {
});
},
wangqizuopin() {
console.log('123123');
this.wangqiList = true;
},
wangqizuopinClose(num) {
......
......@@ -77,8 +77,6 @@ export default {
while (data.length) {
data = await this.getRuweiList();
console.log('data');
console.log(data);
this.ruweiList.push(data);
}
......@@ -95,8 +93,6 @@ export default {
}
})
.then(res => {
// console.log('入围res');
// console.log(res);
var arr = res.data.data.data;
var newArr = this.addSrc(arr);
......
......@@ -74,7 +74,6 @@ export default {
id: this.userId
})
.then(res => {
console.log(res);
if (res.data.code === 0) {
Toast({ message: '保存成功' });
setTimeout(() => {
......
......@@ -124,7 +124,6 @@ export default {
}
})
.then(res => {
// console.log(res);
var arr = res.data.data.data;
var newArr = this.addSrc(arr);
......@@ -134,9 +133,6 @@ export default {
if (arr.length < res.data.data.size) {
this.userAllLoaded = true;
this.userdot = { backgroundColor: 'transparent' };
// console.log('this.$refs.waterfall',this.$refs.waterfall);
// this.$refs.waterfall.waterfallOver()
}
if (this.userList) {
......
......@@ -12,7 +12,6 @@ var userHtml = path.resolve(__dirname, './dist/user.html');
fs.stat(path.resolve(__dirname, './dist/index.blade.php'), function (err) {
if (err) {
// console.log(err);
rename(indexPhp,indexHtml);
rename(userPhp,userHtml);
......@@ -38,7 +37,6 @@ function rename(php,html) {
console.log(err);
}else{
if(php.includes('user')){
// console.log(php);
changeUserFile()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment