|
@@ -6,7 +6,7 @@
|
|
|
<index-card-smart class="mt20 index-block" />
|
|
|
<index-card title="精品试卷" class="mt20 index-block" more-text="查看全部" @more="more('/question-center/bestPaper')">
|
|
|
<el-tabs type="card">
|
|
|
- <el-tab-pane v-if="false" label="名校试卷">
|
|
|
+ <el-tab-pane v-if="!currentUser.isPaperHistoryOnly" label="名校试卷">
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="8" @click.native="toPreView(item)"
|
|
|
class="f14 mb15 pointer text-ellipsis" v-for="item in papersList">
|
|
@@ -66,7 +66,7 @@ export default {
|
|
|
this.getVideoList(2)
|
|
|
},
|
|
|
computed: {
|
|
|
- ...mapGetters(['isSenior', 'isJunior']),
|
|
|
+ ...mapGetters(['isSenior', 'isJunior', 'currentUser']),
|
|
|
specialSupport() {
|
|
|
return this.isSenior || this.isJunior
|
|
|
},
|