diff --git a/src/views/components/pay/index.vue b/src/views/components/pay/index.vue index b6850ff89..cb725cb63 100644 --- a/src/views/components/pay/index.vue +++ b/src/views/components/pay/index.vue @@ -77,6 +77,11 @@ export default { return ''; }, height() { + if (/\/dp\//.test(this.$route.path) || + /\/plan\//.test(this.$route.path)) { + return this.$store.state.app.height; + } + return this.$store.state.app.height - 61; } }, diff --git a/src/views/exam/index.vue b/src/views/exam/index.vue index 136152d90..ddbd2d71c 100644 --- a/src/views/exam/index.vue +++ b/src/views/exam/index.vue @@ -27,7 +27,7 @@ export default { data() { return { listShow: true, - widthLeft: 450 + widthLeft: Number(localStore.get('LeftWidth')) || 450 }; }, computed: { @@ -43,9 +43,6 @@ export default { this.listShow = val; } }, - mounted() { - this.widthLeft = Number(localStore.get('LeftWidth')); - }, methods: { refresh() { this.$refs && this.$refs.examlList && this.$refs.examlList.refresh(); diff --git a/src/views/exam/list/examList.vue b/src/views/exam/list/examList.vue index 2c3c7b0ec..2bad8fddc 100644 --- a/src/views/exam/list/examList.vue +++ b/src/views/exam/list/examList.vue @@ -2,7 +2,6 @@
试题列表 -
- +