@tplc/business 0.4.181 → 0.4.182

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.4.182](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.181...v0.4.182) (2025-08-01)
6
+
5
7
  ### [0.4.181](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.180...v0.4.181) (2025-08-01)
6
8
 
7
9
 
@@ -13,7 +13,6 @@
13
13
  @regionchange="onRegionChange"
14
14
  @callouttap="onCalloutTap"
15
15
  />
16
- {{ form.mapLatitude }}
17
16
  <image
18
17
  src="./images/2.png"
19
18
  class="w-36rpx h-66rpx absolute left-0 top-0 m-auto bottom-0 right-0"
@@ -82,7 +81,16 @@
82
81
 
83
82
  <script lang="ts" setup>
84
83
  import { FORM_KEY } from '@tplc/business/constants'
85
- import { reactive, inject, ref, useAttrs, watch, onMounted, getCurrentInstance } from 'vue'
84
+ import {
85
+ reactive,
86
+ inject,
87
+ ref,
88
+ useAttrs,
89
+ watch,
90
+ onMounted,
91
+ getCurrentInstance,
92
+ onUnmounted,
93
+ } from 'vue'
86
94
  import { getJsonFromStr, transformValueUnit } from '../../utils/transform'
87
95
  import { MapItem, MapMarker } from './types'
88
96
  import useAutoHeight from '../../hooks/useAutoHeight'
@@ -301,6 +309,10 @@ onMounted(() => {
301
309
  mapContext.value = uni.createMapContext('map', proxy)
302
310
  getData()
303
311
  })
312
+
313
+ onUnmounted(() => {
314
+ mapContext.value = undefined
315
+ })
304
316
  </script>
305
317
  <style lang="scss">
306
318
  .icon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.181",
3
+ "version": "0.4.182",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],