Skip to content

Commit 9f7d482

Browse files
committed
update
1 parent 4b043f7 commit 9f7d482

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/views/merchants/list/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ export default class extends Vue {
8686
{
8787
title: "关联的微信用户",
8888
width: 130,
89-
render: (h, { row }) => h("span", row.wxUser.nickName)
89+
render: (h, { row }) =>
90+
h("span", row.wxUser ? row.wxUser.nickName : "")
9091
},
9192
{
9293
title: "联系人",

src/views/orders/list/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export default class extends Vue {
246246
query: {
247247
offset: (this.listPageCurrent - 1) * this.$consts.PageSize,
248248
limit: this.$consts.PageSize,
249-
where: this.listSearchWhere,
249+
where: this.listSearchWhere || initWhere,
250250
include: [{ model: "WxUser", as: "wxUser" }]
251251
}
252252
});

0 commit comments

Comments
 (0)