提交 e2fcbf24 authored 作者: matian's avatar matian

代码提交

上级 601547dc
......@@ -50,10 +50,12 @@ export default {
},
watch: {
tabActive(nv) {
console.log(nv)
this.tableOptions.remote.params.status = nv
console.log(this.tableOptions.remote.params, '=123')
this.$refs.list.refetch()
// console.log(nv)
// this.tableOptions.remote.params.status = nv
// console.log(this.tableOptions.remote.params, '=123')
// this.$nextTick(() => {
// this.$refs.list.refetch()
// })
}
},
mounted() {
......
......@@ -24,7 +24,7 @@
<el-tab-pane :label="`未提交${count.cache_count}`" name="toSubmit" lazy>
<!-- <RankingAll :scoreRanking="scoreRanking" /> -->
</el-tab-pane>
<RankingAll :tabActive="tabStatus" :scoreRanking="scoreRanking" @resCount="handleResCount" />
<RankingAll :tabActive="tabStatus" :scoreRanking="scoreRanking" @resCount="handleResCount" :key="tabStatus" />
</el-tabs>
</el-card>
</template>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论