|
|
@@ -1811,6 +1811,10 @@ export default { |
|
|
|
if (res.code == 0) { |
|
|
|
this.tableData = res.data.records; |
|
|
|
this.page.total = res.data.total; |
|
|
|
// 表格中设置ref属性,在数据渲染之后或者updated()之后 |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs.crud.doLayout(); |
|
|
|
}); |
|
|
|
} else { |
|
|
|
this.$message.waring(res.msg); |
|
|
|
} |
|
|
|