Browse Source

删除多余console

remotes/origin/HEAD
songsong428 5 years ago
parent
commit
b3b59204ab
  1. 1
      components/user-agreement/user-agreement.vue
  2. 1
      pages/add-stroke/add-stroke.vue
  3. 1
      pages/apply-code/apply-code.vue
  4. 1
      pages/get-code/get-code.vue
  5. 1
      pages/index/index.vue
  6. 1
      pages/punch-the-clock/punch-the-clock.vue
  7. 2
      pages/sign/sign.vue
  8. 2
      pages/statistics/statistics.vue
  9. 2
      pages/user-code/user-code.vue

1
components/user-agreement/user-agreement.vue

@ -69,7 +69,6 @@ export default {
//
serviceAgreement(){
console.log('用户服务协议')
uni.navigateToMiniProgram({
appId: 'wx5b97b0686831c076',
path: 'pages/preview/preview?sid=&fid=60774991254',

1
pages/add-stroke/add-stroke.vue

@ -175,7 +175,6 @@ export default {
agree1,
agree2,
} = this;
console.log(startTime,endTime)
const params = {
param: {
carNo,

1
pages/apply-code/apply-code.vue

@ -302,7 +302,6 @@ export default {
title: '图片提交成功',
duration: 1000,
});
console.log(this.fileIdList);
},fail: (err) => {
console.log('uploadImage fail', err);
uni.showModal({

1
pages/get-code/get-code.vue

@ -204,7 +204,6 @@ export default {
showToast('请确定是否为本人填写');
return;
}
console.log('信息提交');
uni.reLaunch({
url: `/pages/index/index`,
});

1
pages/index/index.vue

@ -48,7 +48,6 @@ export default {
onlyFromCamera: true,
scanType: ['qrCode', 'wxCode'],
success: res => {
console.log('res: ', res);
//
if (res && res.path) {
const pathArr = res.path.split('?scene=');

1
pages/punch-the-clock/punch-the-clock.vue

@ -298,7 +298,6 @@
title: '图片提交成功',
duration: 1000,
});
console.log(this.fileIdList);
},fail: (err) => {
console.log('uploadImage fail', err);
uni.showModal({

2
pages/sign/sign.vue

@ -42,7 +42,6 @@ export default {
},
onLoad(options) {
console.log('options: ', options);
this.init(options);
this.getLocation();
},
@ -53,7 +52,6 @@ export default {
init(options) {
try {
const query = formatQuery(decodeURIComponent(options.scene));
console.log('query: ', query);
const { d, t } = query;
if (!d || !t) {
uni.showToast({

2
pages/statistics/statistics.vue

@ -34,7 +34,6 @@ export default {
* @param {string} end 截止时间 yy-mm-dd
*/
getData(start, end) {
console.log('start, end: ', start, end);
const startTime =
this.$moment(start)
.startOf('day')
@ -43,7 +42,6 @@ export default {
this.$moment(end)
.endOf('day')
.format('x') - 0;
console.log('startTime, endTime: ', startTime, endTime);
//
this.getSchoolSignsData(startTime, endTime);
//

2
pages/user-code/user-code.vue

@ -83,7 +83,6 @@ export default {
post() {
if (!this.userInfo) return '学生';
let str = '学生';
console.log('this.userInfo.post: ', this.userInfo.post);
switch (this.userInfo.post) {
case 0:
str = '学生';
@ -163,7 +162,6 @@ export default {
this.getUserInfoData(params);
}, 100);
} else {
console.log('params: ', params);
this.userInfo = await this.getUserInfo(params);
if (!this.userInfo.healthCodeList.length) {
showToast('健康码信息有误, 请重新生成');

Loading…
Cancel
Save