row-key 的id重复问题
This commit is contained in:
parent
bd8a01ee1a
commit
f086b07a06
|
|
@ -56,7 +56,7 @@
|
|||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-table v-loading="loading" :data="typeList" row-key="id" border>
|
||||
<el-table v-loading="loading" :data="typeList" border>
|
||||
<el-table-column width="60" align="center" label="序号" type="index">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
|
||||
|
|
@ -705,7 +705,8 @@ export default {
|
|||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
this.queryParams.time = []
|
||||
this.resetForm('queryForm')
|
||||
// this.resetForm('queryForm')
|
||||
this.queryParams.taskStatus = ''
|
||||
this.queryParams.keyWord = ''
|
||||
this.handleQuery()
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue