修复线索详情页报名列表数据没更新
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
</ele-pro-table>
|
||||
<!-- 数据表格 -->
|
||||
<ele-pro-table
|
||||
ref="table"
|
||||
ref="table1"
|
||||
:columns="columns"
|
||||
:datasource="datasource"
|
||||
cache-key="receiverCustomerOptTables"
|
||||
@@ -281,7 +281,15 @@
|
||||
/* 刷新表格 */
|
||||
reload() {
|
||||
if (this.$refs.table && typeof this.$refs.table.reload === 'function') {
|
||||
this.$refs.table.reload({ page: 1, where: this.where });
|
||||
this.$refs.table.reload();
|
||||
} else {
|
||||
console.warn('表格引用或 reload 方法不存在');
|
||||
}
|
||||
if (
|
||||
this.$refs.table1 &&
|
||||
typeof this.$refs.table1.reload === 'function'
|
||||
) {
|
||||
this.$refs.table1.reload();
|
||||
} else {
|
||||
console.warn('表格引用或 reload 方法不存在');
|
||||
}
|
||||
@@ -331,9 +339,11 @@
|
||||
$route: {
|
||||
handler(route) {
|
||||
const { path } = route;
|
||||
console.log('222');
|
||||
if (path !== ROUTE_PATH) {
|
||||
return;
|
||||
}
|
||||
console.log('333');
|
||||
this.title = this.$route.query.title
|
||||
? this.$route.query.title
|
||||
: '线索详情';
|
||||
|
||||
Reference in New Issue
Block a user