@tplc/business 0.7.15 → 0.7.16

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.7.16](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.15...v0.7.16) (2025-12-15)
6
+
5
7
  ### [0.7.15](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.14...v0.7.15) (2025-12-15)
6
8
 
7
9
 
@@ -82,6 +82,10 @@ const getMerchantList = async () => {
82
82
  pageDecorationFlag: true,
83
83
  })
84
84
  merchantList.value = data as Merchant[]
85
+ // 查看value 是否存在
86
+ if (value.value && !merchantList.value.find((item) => item.merchantId === value.value)) {
87
+ return
88
+ }
85
89
  title.value = merchantList.value[0].merchantName
86
90
  value.value = merchantList.value[0].merchantId
87
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.15",
3
+ "version": "0.7.16",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],