chore:在线留言提交后,再次打开在线留言,输入框会清空上次内容

This commit is contained in:
2026-01-07 14:29:53 +08:00
parent 4a44eb66c9
commit 012b1339aa
3 changed files with 40 additions and 101 deletions

View File

@@ -98,8 +98,7 @@ export default {
markers: [],
Form: {
realname: "",
mobile: "",
remark: ""
mobile: ""
},
ismessage: 0,
video_url: ""
@@ -264,7 +263,6 @@ export default {
success: (res) => {
this.$refs.informationPopup.close();
this.$util.showToast({ title: res.message });
this.resetForm();
},
fail: (err) => {
console.log(err);
@@ -282,15 +280,7 @@ export default {
closeinformationPopup() {
this.ismessage = 0;
this.$refs.informationPopup.close();
this.resetForm();
},
resetForm() {
this.Form = {
realname: "",
mobile: "",
remark: ""
};
},
Tel(phone) {
uni.makePhoneCall({
phoneNumber: phone + "",