From 68ce9382090846dc3a03a057a18a7d09f30e45e5 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 17 十月 2025 17:39:03 +0800
Subject: [PATCH] test
---
pages/map/infos/scene-create.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/pages/map/infos/scene-create.vue b/pages/map/infos/scene-create.vue
index 793bc09..629e98a 100644
--- a/pages/map/infos/scene-create.vue
+++ b/pages/map/infos/scene-create.vue
@@ -1,7 +1,7 @@
<template>
<view class="pages-map-scene-create">
<view class="scene-content" v-if="opSceneType =='' ">
- <image class="img" src="/images/image 25.png" alt=" 鍥剧墖" mode="aspectFit" />
+ <image class="img" src="/images/image_25.png" alt=" 鍥剧墖" mode="aspectFit" />
<view class="space">娌℃湁鎵惧埌绗﹀悎鏉′欢鐨勫湴鍥�/view>
<view class="text-button-group">
<a-button type="primary" class="button" @click="clickStartConstructScene">
@@ -18,7 +18,7 @@
<view class="tip">璇疯緭鍏ュ満鏅悕绉�/view>
<view class="name-input">
<input ref="refInputName" :focus="true" placeholder="璇疯緭鍏ュ満鏅悕绉� :value="sceneName"
- @input="onInputName"></input>
+ @input="onInputName"/>
<uni-icons class="clear" color="#ccc" type="clear" size="20" v-if="showClearName"
@click="clickClearName"></uni-icons>
</view>
@@ -57,6 +57,8 @@
showToast,
showModal,
session,
+ showError,
+ showInfo
} from "@/comm/utils.js"
import {
Button
@@ -100,6 +102,7 @@
computed: {
},
+
mounted() {
const _this = this
uni.getSystemInfo({
@@ -139,7 +142,7 @@
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
async loadMapLaserData() {
@@ -147,7 +150,7 @@
const info = await getMapLaserData(this.ip)
return info
} catch (ex) {
- this.showError(ex)
+ showError(ex)
return {}
}
},
@@ -177,7 +180,7 @@
await createScene(this.ip, name, 1)
this.$emit('update:opSceneType', "scan");
} catch (ex) {
- this.showError(ex)
+ showError(ex)
}
},
--
Gitblit v1.9.1