commit
This commit is contained in:
@@ -110,9 +110,20 @@ layout("/mobile/platform.html"){
|
||||
if (path) {
|
||||
pjaxReplace(path + "?id=" + item.id)
|
||||
}
|
||||
},
|
||||
init() {
|
||||
const queryId = GetQueryString('id')
|
||||
const category = GetQueryString('category')
|
||||
if(category) {
|
||||
this.pageForm.category = category
|
||||
}
|
||||
if(queryId) {
|
||||
this.pageForm.queryId = queryId
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.init()
|
||||
this.onLoad()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user