|
|
@@ -15,9 +15,6 @@ export default {
|
|
|
pageTo: pageTo
|
|
|
}
|
|
|
},
|
|
|
- // computed: {
|
|
|
- // ...mapGetters({ userInfo: 'getUser' })
|
|
|
- // },
|
|
|
// 页面生命周期才触发
|
|
|
onLoad: function (option) {
|
|
|
this.option = option || null
|
|
|
@@ -70,22 +67,6 @@ export default {
|
|
|
if (this.init) {
|
|
|
this.init()
|
|
|
}
|
|
|
-
|
|
|
- // getCheckLogin().then(res => {
|
|
|
- // if (constant.source == 'store') {
|
|
|
- // if (res) {
|
|
|
- // getUser()
|
|
|
- // }
|
|
|
- // }
|
|
|
- // })
|
|
|
- // wxLoginFn().then(res => {
|
|
|
- // if (this.init) {
|
|
|
- // if (constant.source == 'store') {
|
|
|
- // getUser()
|
|
|
- // }
|
|
|
- // this.init()
|
|
|
- // }
|
|
|
- // })
|
|
|
},
|
|
|
mounted() {
|
|
|
if (this.mInit) {
|