From 9efd4a80aae58cf36266e774d3c820cc8e115028 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期四, 25 九月 2025 17:33:45 +0800
Subject: [PATCH] test
---
pages/index/index.vue | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 63dadb8..1f9d046 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -123,7 +123,9 @@
import {
session,
showToast,
- showModal
+ showModal,
+ showError,
+ showInfo
} from "@/comm/utils.js"
import {
getAllScene,
@@ -280,7 +282,7 @@
}
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
@@ -304,7 +306,7 @@
this.pageList = [...list]
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
@@ -409,7 +411,7 @@
}
}
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
async checkConnectSuccess(ip) {
@@ -532,7 +534,7 @@
}
})
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
@@ -618,13 +620,6 @@
url: `/pages/index/backup?ip=${page.ip}`
})
}
- },
- showError(ex) {
- let exStr = JSON.stringify(ex)
- if (exStr == "{}")
- exStr = ex
- let tip = typeof ex.msg == "string" ? ex.msg : exStr
- showModal(tip, "閿欒", false, "纭畾")
},
closeMenu() {
this.$refs.refPopupMenu.close()
@@ -882,6 +877,8 @@
margin-top: 150rpx;
margin-left: calc(750rpx - 330rpx);
width: 320rpx;
+ max-height: 50vh;
+ overflow: auto;
align-items: center;
justify-content: center;
flex-direction: column;
--
Gitblit v1.9.1