Commit 820ff9d1 authored by wangxuelai's avatar wangxuelai

'删除没用的console'

parent 0a397534
...@@ -153,7 +153,6 @@ Page({ ...@@ -153,7 +153,6 @@ Page({
const {formId} = e.detail; const {formId} = e.detail;
const addInfo = JSON.parse(JSON.stringify(this.data.addInfo)); const addInfo = JSON.parse(JSON.stringify(this.data.addInfo));
const {content, status} = addInfo; const {content, status} = addInfo;
console.log(content, 'contentcontentcontent')
if (content.trim() === '' && status == 1) { if (content.trim() === '' && status == 1) {
wx.showModal({ wx.showModal({
title: '提示', title: '提示',
......
...@@ -156,7 +156,6 @@ Page({ ...@@ -156,7 +156,6 @@ Page({
} }
}) })
} }
console.log(res.data, 'res.datares.datares.datares.data')
this.setData({ this.setData({
circleInfo: res.data, circleInfo: res.data,
// sid: res.data.school_id // sid: res.data.school_id
......
...@@ -134,12 +134,6 @@ Page({ ...@@ -134,12 +134,6 @@ Page({
cid, cid,
sid sid
}) })
console.log({
id,
tid,
cid,
sid
})
wx.hideShareMenu() wx.hideShareMenu()
this.commentDetailGet(); this.commentDetailGet();
this.memberComment(); this.memberComment();
...@@ -733,7 +727,6 @@ Page({ ...@@ -733,7 +727,6 @@ Page({
} = e.currentTarget.dataset; } = e.currentTarget.dataset;
let content = this.data.params.content; let content = this.data.params.content;
let audioStorage = this.data.audioStorage; let audioStorage = this.data.audioStorage;
console.log(audioStorage, 'audioStorage')
if (content) { if (content) {
if (audioStorage[value]) { // 如果当前是播放状态 删除录音的操作要把录音销毁掉 if (audioStorage[value]) { // 如果当前是播放状态 删除录音的操作要把录音销毁掉
this.pausevoice(e); this.pausevoice(e);
......
...@@ -42,8 +42,6 @@ Page({ ...@@ -42,8 +42,6 @@ Page({
id, id,
sid sid
}) })
console.log({id,
sid})
// wx.hideShareMenu() // wx.hideShareMenu()
}, },
onReady: function() { // Do something when page ready. onReady: function() { // Do something when page ready.
......
...@@ -342,7 +342,6 @@ Page({ ...@@ -342,7 +342,6 @@ Page({
_permissions.push(powerList[i].id); _permissions.push(powerList[i].id);
} }
} }
// console.log(_permissions);
setPermission({ setPermission({
teacher_id: this.data.actId, teacher_id: this.data.actId,
school_id:this.data.sid, school_id:this.data.sid,
......
...@@ -269,7 +269,6 @@ Page({ ...@@ -269,7 +269,6 @@ Page({
// 跟录音相关的操作 // 跟录音相关的操作
// 视频播放相关代码 // 视频播放相关代码
videoplay(e) { videoplay(e) {
console.log(e.detail,'e.detail')
const { const {
video video
} = e.detail; } = e.detail;
...@@ -278,7 +277,6 @@ Page({ ...@@ -278,7 +277,6 @@ Page({
}) })
}, },
playvideo(e) { playvideo(e) {
console.log(e,'eee');
const that = this; const that = this;
const { src, from } = e.detail; const { src, from } = e.detail;
this.setData({ this.setData({
......
...@@ -111,7 +111,6 @@ Page({ ...@@ -111,7 +111,6 @@ Page({
}, },
PreviewImage(){ PreviewImage(){
const imgsrc = imagify(this.data.schoolInfo.qr_code) const imgsrc = imagify(this.data.schoolInfo.qr_code)
console.log(imgsrc,'imgsrc')
const data = { const data = {
urls:[imgsrc], urls:[imgsrc],
current: imgsrc current: imgsrc
......
...@@ -87,7 +87,6 @@ Page({ ...@@ -87,7 +87,6 @@ Page({
school_id:this.data.sid school_id:this.data.sid
}).then((res) => { }).then((res) => {
if (res.code == 200) { // 成功的操作 if (res.code == 200) { // 成功的操作
console.log('ddddddddddddddddddddddd')
LocalStorage.setItem('teacher', { LocalStorage.setItem('teacher', {
// expires_in: data.expires_in, // expires_in: data.expires_in,
token: visitor && visitor.token, token: visitor && visitor.token,
...@@ -103,7 +102,6 @@ Page({ ...@@ -103,7 +102,6 @@ Page({
}) })
} }
if (res.code == 40000){ if (res.code == 40000){
console.log('sssssssssssssssssssssss')
LocalStorage.setItem('teacher', { LocalStorage.setItem('teacher', {
// expires_in: data.expires_in, // expires_in: data.expires_in,
token: visitor && visitor.token, token: visitor && visitor.token,
......
...@@ -34,7 +34,6 @@ Page({ ...@@ -34,7 +34,6 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function (options) {
console.log(options, 'optionsoptionsoptions');
if (options.sid) { if (options.sid) {
this.setData({ this.setData({
sid: options.sid sid: options.sid
......
...@@ -1692,7 +1692,6 @@ Page({ ...@@ -1692,7 +1692,6 @@ Page({
}) })
}, },
showcommenteditor(e) { showcommenteditor(e) {
console.log(this.data.clockList,'this.data.clockList')
this.setData({ this.setData({
commentclock: e.detail, commentclock: e.detail,
commenteditor: true commenteditor: true
......
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 to comment