mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 19:41:37 +08:00
parent
93eaf9d36f
commit
e5f2eb9955
@ -70,7 +70,9 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.correctPageMinHeight(-this.tabsOffset)
|
this.correctPageMinHeight(-this.tabsOffset)
|
||||||
this.cachedKeys.push(this.$refs.tabContent.$vnode.key)
|
if(this.multiPage){
|
||||||
|
this.cachedKeys.push(this.$refs.tabContent.$vnode.key)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
beforeDestroy() {
|
beforeDestroy() {
|
||||||
window.removeEventListener('page:close', this.closePageListener)
|
window.removeEventListener('page:close', this.closePageListener)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user