src/layout/components/AppMain.vue
@@ -20,6 +20,12 @@ }, triggerMainBtnPlan(){ this.$parent.triggerCombackBtn() }, mainAdd(){ this.$refs.child.measureAdd() }, mainShowAdd(){ this.$parent.showIndexAdd() } } } @@ -27,13 +33,12 @@ <style lang="scss" scoped> .app-main { /*88 = navbar+baredcrumb */ min-height: calc(100vh - 88px); /* 88 = navbar+baredcrumb */ height: calc(100vh - 88px); width: 100%; position: relative; overflow: hidden; >div{ min-height: calc(100vh - 88px); height: 100%; width: 100%; }