From d8743368ffda9bc0fb2c6818f695a9a6b1079e57 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 19 九月 2025 18:22:15 +0800
Subject: [PATCH] laster
---
pages/index/detail.vue | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/pages/index/detail.vue b/pages/index/detail.vue
index 0413f43..5c410d6 100644
--- a/pages/index/detail.vue
+++ b/pages/index/detail.vue
@@ -71,7 +71,9 @@
<script>
import {
showToast,
- showModal
+ showModal,
+ showError,
+ showInfo
} from "@/comm/utils.js"
import {
Button
@@ -129,7 +131,7 @@
const info = await shellVersion(this.vehicleIp)
this.car_version = info.software_version
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
clickDelete() {
@@ -164,13 +166,7 @@
delta: 1
})
},
- showError(ex) {
- let exStr = JSON.stringify(ex)
- if (exStr == "{}")
- exStr = ex
- let tip = typeof ex.msg == "string" ? ex.msg : exStr
- showModal(tip, "閿欒", false,"纭畾")
- },
+
}
}
--
Gitblit v1.9.1