This commit is contained in:
parent
3808ba29cc
commit
db6eb3d376
|
|
@ -34,7 +34,27 @@ export default {
|
|||
computed: {
|
||||
...mapGetters(['isLogin', 'userInfo', 'viewColor'])
|
||||
},
|
||||
onLoad() {},
|
||||
onLoad(options) {
|
||||
let _this = this;
|
||||
if(options.scene){
|
||||
console.log('转换前参数:',options.scene)
|
||||
let scene = _this.$util.getUrlParams(decodeURIComponent(options.scene));
|
||||
console.log("接收参数",scene)
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
// 判断:是否登录
|
||||
if (!_this.isLogin) {
|
||||
// 未登录 授权登录
|
||||
_this.isAuto = true;
|
||||
_this.isShowAuth = true
|
||||
}else{
|
||||
// 已登录 获取信息
|
||||
_this.init();
|
||||
}
|
||||
},
|
||||
// 滚动到底部
|
||||
onReachBottom() {},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue