Commit 5267621f authored by sujie@126.com's avatar sujie@126.com

dd

parent 873f8c50
......@@ -33,6 +33,12 @@ App({
},
onShow: function (params) { // 小程序启动,或从后台进入前台显示时
const {path, query, scene, shareTicket, referrerInfo} = params;
if(path == 'business/pages/loginregistermgt/login'){
this.globalData.fromUrl = path;
this.globalData.query = {};
this.canEnterSystem(path);
return
}
if (path != 'wechatinfoget/index' && path.indexOf('business/') == -1) {
this.globalData.fromUrl = path;
this.globalData.query = query;
......
......@@ -106,7 +106,6 @@ Component({
title: '评论提交中...'
})
const visitor = LocalStorage.getItem('visitor');
console.log(this.data.prams, 'this.data.prams.from')
if (this.data.prams.from && this.data.prams.from == 'coursegallery') {
if(this.data.type == "2b"){
memberclassroomcommentPost({
......
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