refactor: replace uni.showToast calls with shared toast
consolidates repeated toast display logic into a centralized utility, reducing code duplication and standardizing toast behavior across the codebase
This commit is contained in:
@@ -95,10 +95,7 @@ import { SEND_MESSAGE_CONTENT_TEXT } from "@/constants/constant";
|
||||
const faq = ["古桥有什么传说", "最佳观赏时间", "旁边还有什么景点"];
|
||||
|
||||
const showToast = (title) => {
|
||||
uni.showToast({
|
||||
title,
|
||||
icon: "none",
|
||||
});
|
||||
showToast(title);
|
||||
};
|
||||
|
||||
// 打开地图
|
||||
|
||||
Reference in New Issue
Block a user