From b9a26af5b08d3d92a6c38fd90e023bc4706f19eb Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 29 Sep 2025 14:22:30 +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