Commit 11cde71e by 张立顺

fix bug修复

1 parent 1bc3797d
......@@ -38,11 +38,11 @@
导出
</el-button>
</span>
<el-tabs v-model="activeName" type="card" @tab-click="handleTabChange">
<!-- <el-tabs v-model="activeName" type="card" @tab-click="handleTabChange">
<el-tab-pane label="全部" name="all"> </el-tab-pane>
<el-tab-pane label="未完成" name="0"> </el-tab-pane>
<el-tab-pane label="已完成" name="1"> </el-tab-pane>
</el-tabs>
</el-tabs> -->
<d2-table
ref="exerciseDetailTable"
:has-num="true"
......@@ -219,7 +219,8 @@ export default {
console.log("handleReset")
const { activeName } = this
this.searchForm = {}
this.searchForm.sparringStatus = activeName != "all" ? activeName : ""
// this.searchForm.sparringStatus = activeName != "all" ? activeName : ""
this.searchForm.sparringStatus = "1"
this.searchFormSearch = {}
this.$refs.exerciseDetailTable.refreshTable(true, true)
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!