|
|
@@ -29,7 +29,7 @@ export default {
|
|
|
changeTab: this.changeTab
|
|
|
};
|
|
|
},
|
|
|
- inject: ['barHeight'],
|
|
|
+ inject: ['barHeight', 'appHeight'],
|
|
|
computed: {
|
|
|
barValue() {
|
|
|
return this.$refs.bar;
|
|
|
@@ -37,7 +37,7 @@ export default {
|
|
|
scrollStyle() {
|
|
|
return {
|
|
|
boxSizing: 'border-box',
|
|
|
- minHeight: `calc(100vh - ${(this.barHeight || '0') + 'px'})`
|
|
|
+ minHeight: `calc(${this.appHeight} - ${(this.barHeight || '0') + 'px'})`
|
|
|
};
|
|
|
}
|
|
|
},
|