chore:在线留言提交后,再次打开在线留言,输入框会清空上次内容
This commit is contained in:
@@ -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 + "",
|
||||
|
||||
Reference in New Issue
Block a user