修改开户缓存问题和修改编辑商户信息后商户信息不变化的问题
This commit is contained in:
parent
1b69035ed2
commit
32b7dbc38c
|
@ -51,6 +51,9 @@ Component({
|
|||
},
|
||||
async getTenementInfo() {
|
||||
const { tenement, park } = this.data;
|
||||
if (!tenement || !park) {
|
||||
return;
|
||||
}
|
||||
const { code, message, tenement: data } = await getTenementBackInfo(park, tenement)
|
||||
if (code !== OK) {
|
||||
alertInfo(message)
|
||||
|
@ -118,11 +121,12 @@ Component({
|
|||
this.setData({
|
||||
kaihuVisible: false,
|
||||
defaultValue: {},
|
||||
title: "编辑"
|
||||
title: "编辑",
|
||||
editType: "",
|
||||
})
|
||||
},
|
||||
onKaihuConfirm() {
|
||||
// this.getTenementInfo();
|
||||
async onKaihuConfirm() {
|
||||
this.getTenementInfo();
|
||||
this.onKaihuClose();
|
||||
},
|
||||
unbind(e) {
|
||||
|
|
|
@ -105,6 +105,7 @@
|
|||
bindcancel="onCancel"
|
||||
/>
|
||||
<kaihu
|
||||
wx:if="{{kaihuVisible}}"
|
||||
park="{{park}}"
|
||||
visible="{{kaihuVisible}}"
|
||||
defaultValue="{{defaultValue}}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user