update: 资讯列表和分类不需要登录态。

This commit is contained in:
mixtan 2025-09-09 16:20:39 +08:00
parent 2b1417beba
commit 65c5ada66f
2 changed files with 11 additions and 12 deletions

View File

@ -1130,16 +1130,15 @@ export default {
}); });
}, },
tplGoToPage: function (e) { tplGoToPage: function (e) {
let that = this; let that = this;
if(this.isLogin){
if(!this.hasLogin){ // if(this.isLogin){
that.$emit("showLogin",true) // if(!this.hasLogin){
return // that.$emit("showLogin",true)
} // return
} // }
debugger; // }
var t = e.currentTarget.dataset; var t = e.currentTarget.dataset;
//console.info(t); //console.info(t);
switch (parseInt(t.type)) { switch (parseInt(t.type)) {

View File

@ -357,10 +357,10 @@ export default {
// item JSON // item JSON
//console.log(item) //console.log(item)
if(!this.hasLogin){ // if(!this.hasLogin){
this.showLoginPopup = true // this.showLoginPopup = true
return // return
} // }
let url = "/community/community/detail?id=" + item.story_id; let url = "/community/community/detail?id=" + item.story_id;