From 3fc27febccd04e2fcffbd2cdd16d2daafd0b3ca3 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 11 Oct 2025 17:23:27 +0800
Subject: [PATCH] feat:首页地图相关调整
---
src/utils/modals/index.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/utils/modals/index.js b/src/utils/modals/index.js
index a58172b..cc76b31 100644
--- a/src/utils/modals/index.js
+++ b/src/utils/modals/index.js
@@ -3,7 +3,7 @@
* @param {string} content 提示内容
* @param {object} option 配置
*/
-export function Toast(content, option = {}) {
+export function Toast (content, option = {}) {
uni.showToast({
title: content,
icon: "none",
@@ -34,7 +34,7 @@
* @param {string} content 提示内容
* @param {object} option 配置
*/
-export function Dialog(content, option = {}) {
+export function Dialog (content, option = {}) {
option.showCancel = false
return new Promise((resolve, reject) => {
uni.showModal({
@@ -42,10 +42,10 @@
content,
showCancel: false,
confirmColor: "#1677FF",
- success(res) {
+ success (res) {
if (res.confirm) resolve(res)
},
- fail() {
+ fail () {
reject(new Error("Alert 调用失败 !"))
},
...option
--
Gitblit v1.9.3