修改开户缓存问题和修改编辑商户信息后商户信息不变化的问题

This commit is contained in:
qiaomu 2025-03-12 08:47:59 +08:00
parent 1b69035ed2
commit 32b7dbc38c
2 changed files with 8 additions and 3 deletions

View File

@ -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) {

View File

@ -105,6 +105,7 @@
bindcancel="onCancel"
/>
<kaihu
wx:if="{{kaihuVisible}}"
park="{{park}}"
visible="{{kaihuVisible}}"
defaultValue="{{defaultValue}}"