修改完接口后刷新
This commit is contained in:
parent
28c4028893
commit
71194fbf1c
@ -53,6 +53,7 @@ Component({
|
||||
}
|
||||
alertSuccess("操作成功")
|
||||
this.triggerEvent("ok")
|
||||
this.setData({ data: {} })
|
||||
return;
|
||||
|
||||
|
||||
@ -66,6 +67,7 @@ Component({
|
||||
})
|
||||
},
|
||||
onCancel() {
|
||||
this.setData({ data: {} })
|
||||
this.triggerEvent("cancel")
|
||||
}
|
||||
}
|
||||
|
@ -45,6 +45,7 @@ Component({
|
||||
}
|
||||
alertSuccess("操作成功")
|
||||
this.triggerEvent("ok")
|
||||
this.setData({ phone: "" })
|
||||
return;
|
||||
|
||||
|
||||
@ -56,6 +57,7 @@ Component({
|
||||
})
|
||||
},
|
||||
onCancel() {
|
||||
this.setData({ phone: "" })
|
||||
this.triggerEvent("cancel")
|
||||
}
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ Component({
|
||||
this.handleCancel();
|
||||
},
|
||||
onUpdatePhoneConfirm() {
|
||||
that.getTenementInfo();
|
||||
this.getTenementInfo();
|
||||
},
|
||||
async getTenementInfo() {
|
||||
const { tenement, park } = this.data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user