| xqd
@@ -79,13 +79,15 @@ export default {
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
console.log('-->index data', options)
|
|
|
- this.isLogin && this.getHomeColumn()
|
|
|
this.scene_code = typeof options.user_id !== 'undefined' ? options.scene : ''
|
|
|
this.parent_id = typeof options.user_id !== 'undefined' ? options.user_id : 0
|
|
|
if ((this.parent_id || this.scene_code) && !this.userInfo.parent_id) {
|
|
|
this.isLogin && this.bindParent()
|
|
|
}
|
|
|
},
|
|
|
+ onShow() {
|
|
|
+ this.isLogin && this.getHomeColumn()
|
|
|
+ },
|
|
|
methods: {
|
|
|
handleSearch() {
|
|
|
if (!this.keywords) {
|