|
@@ -80,17 +80,17 @@ export default {
|
|
|
home: true
|
|
|
}
|
|
|
},
|
|
|
- // mounted() {
|
|
|
- // const that = this
|
|
|
- // window.onresize = () => {
|
|
|
- // return (() => {
|
|
|
- // window.fullHeight = document.documentElement.clientHeight
|
|
|
- // that.fullHeight = window.fullHeight
|
|
|
- // console.log(that.fullHeight, 'DSCDSSASC')
|
|
|
- // })()
|
|
|
- // }
|
|
|
- // console.log(this.fullHeight, 'DSCDSC')
|
|
|
- // },
|
|
|
+ mounted() {
|
|
|
+ const that = this
|
|
|
+ window.onresize = () => {
|
|
|
+ return (() => {
|
|
|
+ window.fullHeight = document.documentElement.clientHeight
|
|
|
+ that.fullHeight = window.fullHeight
|
|
|
+ console.log(that.fullHeight, 'DSCDSSASC')
|
|
|
+ })()
|
|
|
+ }
|
|
|
+ console.log(this.fullHeight, 'DSCDSC')
|
|
|
+ },
|
|
|
methods: {
|
|
|
handleOpen(key, keyPath) {
|
|
|
console.log(key, keyPath)
|