mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 19:41:37 +08:00
parent
cd988e20ab
commit
74f9727340
@ -21,7 +21,7 @@ export default {
|
||||
extraImage: ''
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
beforeMount () {
|
||||
this.getPageHeaderInfo()
|
||||
},
|
||||
updated () {
|
||||
@ -31,9 +31,11 @@ export default {
|
||||
getPageHeaderInfo () {
|
||||
this.title = this.$route.name
|
||||
const page = this.$refs.page
|
||||
this.desc = page.desc
|
||||
this.linkList = page.linkList
|
||||
this.extraImage = page.extraImage
|
||||
if (page) {
|
||||
this.desc = page.desc
|
||||
this.linkList = page.linkList
|
||||
this.extraImage = page.extraImage
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user