update: 资讯列表和分类不需要登录态。
This commit is contained in:
parent
2b1417beba
commit
65c5ada66f
@ -1130,16 +1130,15 @@ export default {
|
||||
});
|
||||
},
|
||||
tplGoToPage: function (e) {
|
||||
|
||||
let that = this;
|
||||
if(this.isLogin){
|
||||
|
||||
if(!this.hasLogin){
|
||||
that.$emit("showLogin",true)
|
||||
return
|
||||
}
|
||||
}
|
||||
debugger;
|
||||
// if(this.isLogin){
|
||||
// if(!this.hasLogin){
|
||||
// that.$emit("showLogin",true)
|
||||
// return
|
||||
// }
|
||||
// }
|
||||
|
||||
var t = e.currentTarget.dataset;
|
||||
//console.info(t);
|
||||
switch (parseInt(t.type)) {
|
||||
|
||||
@ -357,10 +357,10 @@ export default {
|
||||
// item 返回选中 JSON 对象
|
||||
//console.log(item)
|
||||
|
||||
if(!this.hasLogin){
|
||||
this.showLoginPopup = true
|
||||
return
|
||||
}
|
||||
// if(!this.hasLogin){
|
||||
// this.showLoginPopup = true
|
||||
// return
|
||||
// }
|
||||
|
||||
let url = "/community/community/detail?id=" + item.story_id;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user