fix: 取消h5端缩放

This commit is contained in:
光头强 2024-05-02 19:29:56 +08:00
parent 534c08d6eb
commit 893c9509ac

View File

@ -44,7 +44,7 @@ export default {
loading: null, loading: null,
enabledProjectV2: 1, enabledProjectV2: 1,
isRouterAlive: true, isRouterAlive: true,
zoomType: 0 zoomType: 1
}; };
}, },
watch: { watch: {
@ -70,7 +70,7 @@ export default {
if (localStorage.getItem('systemInfo')) { if (localStorage.getItem('systemInfo')) {
this.zoomType = JSON.parse(localStorage.getItem('systemInfo')).zoomType this.zoomType = JSON.parse(localStorage.getItem('systemInfo')).zoomType
} }
console.log(this.zoomType) console.log('this.zoomType',this.zoomType)
if (this.zoomType != '1') { if (this.zoomType != '1') {
console.log(1) console.log(1)
this.changePageSize() this.changePageSize()