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