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/map/infos/scene-create.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/pages/map/infos/scene-create.vue b/pages/map/infos/scene-create.vue
index 793bc09..67a281b 100644
--- a/pages/map/infos/scene-create.vue
+++ b/pages/map/infos/scene-create.vue
@@ -57,6 +57,8 @@
 		showToast,
 		showModal,
 		session,
+		showError,
+		showInfo
 	} from "@/comm/utils.js"
 	import {
 		Button
@@ -139,7 +141,7 @@
 
 				} catch (ex) {
 
-					this.showError(ex)
+					showError(ex)
 				}
 			},
 			async loadMapLaserData() {
@@ -147,7 +149,7 @@
 					const info = await getMapLaserData(this.ip)
 					return info
 				} catch (ex) {
-					this.showError(ex)
+					showError(ex)
 					return {}
 				}
 			},
@@ -177,7 +179,7 @@
 					await createScene(this.ip, name, 1)
 					this.$emit('update:opSceneType', "scan");
 				} catch (ex) {
-					this.showError(ex)
+					showError(ex)
 				}
 
 			},

--
Gitblit v1.9.1