Commit bb649c36 authored by dragondean@qq.com's avatar dragondean@qq.com

部分情况下订单列表报错

parent 1e1f3ba6
......@@ -766,7 +766,11 @@ export default {
}
// 执行查询
func(this.combinedQueryParams).then(response => {
this.list = response.data.list;
// 部分情况下,订单后面的操作下拉菜单会显示按钮,但是下来没有选项,在elTable组件更新的时候会导致渲染错误,所以要在更新渲染前清空一次list让table彻底重新渲染,避免部分更新导致异常
this.list = []
this.$nextTick(() => {
this.list = response.data.list
})
this.total = response.data.total;
this.loading = false;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment