upgrade
This commit is contained in:
@ -33,13 +33,13 @@ export default {
|
||||
LeftContent,
|
||||
Footer
|
||||
},
|
||||
data() {
|
||||
data () {
|
||||
return {
|
||||
showLeftMenuValue: 'block',
|
||||
isPhone: ''
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
mounted () {
|
||||
const phoneStyle = 'height: 100%; position: fixed; top: 70px; background-color: #fff; z-index:9999; overflow: scroll; overflow-x: hidden; -webkit-overflow-scrolling: touch;'
|
||||
if (document.body.clientWidth > 768) {
|
||||
this.showLeftMenuValue = 'block'
|
||||
@ -60,7 +60,7 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
showLeftMenu() {
|
||||
showLeftMenu () {
|
||||
if (this.showLeftMenuValue !== 'block') {
|
||||
this.showLeftMenuValue = 'block'
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user