Commit a7e1cc4c by mamingqun

去掉了一些console

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