diff --git a/src/components/Feedback/index.vue b/src/components/Feedback/index.vue index 37f6c8e..08d7ce3 100644 --- a/src/components/Feedback/index.vue +++ b/src/components/Feedback/index.vue @@ -75,20 +75,12 @@ const appName = computed(() => getCurrentConfig().name); const handleCall = async () => { if (!contactPhone.value.trim()) { - uni.showToast({ - title: "请填写联系电话", - icon: "none", - duration: 2000, - }); + uni.showToast({ title: "请填写联系电话", icon: "none" }); return; } if (!contactText.value.trim()) { - uni.showToast({ - title: "请填写意见内容", - icon: "none", - duration: 2000, - }); + uni.showToast({ title: "请填写意见内容", icon: "none" }); return; } @@ -110,13 +102,11 @@ const sendFeedback = async () => { uni.showToast({ title: "反馈意见成功", icon: "success", - duration: 2000, }); } else { uni.showToast({ title: res.message || "反馈意见失败", icon: "none", - duration: 2000, }); } } catch (error) { @@ -124,7 +114,6 @@ const sendFeedback = async () => { uni.showToast({ title: "网络错误,请重试", icon: "none", - duration: 2000, }); } }; diff --git a/src/pages/index/components/chat/ChatMainList/index.vue b/src/pages/index/components/chat/ChatMainList/index.vue index d5111dd..a428a25 100644 --- a/src/pages/index/components/chat/ChatMainList/index.vue +++ b/src/pages/index/components/chat/ChatMainList/index.vue @@ -1,5 +1,5 @@