cyy
2025-09-28 fb026e6052b4d843d327312db398cf791ac57ab9
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)
            }
         },