@tplc/business 0.7.14 → 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,20 @@
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
+
7
+ ### [0.7.15](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.14...v0.7.15) (2025-12-15)
8
+
9
+
10
+ ### ✨ Features | 新功能
11
+
12
+ * buitton text ([f5be12c](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/f5be12c5bbbb6c46d153cfa67ef6e739a208069e))
13
+
14
+
15
+ ### 🐛 Bug Fixes | Bug 修复
16
+
17
+ * 修改 class="whitespace-pre-wrap" ([e138dae](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e138dae50f30ff16d021abda2571cbe96e313fc3))
18
+
5
19
  ### [0.7.14](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.13...v0.7.14) (2025-12-15)
6
20
 
7
21
 
@@ -49,7 +49,7 @@
49
49
  <text
50
50
  v-else
51
51
  style="line-height: 1.54"
52
- class="whitespace-pre-wrap'"
52
+ class="whitespace-pre-wrap"
53
53
  :class="lineClamp ? `line-clamp-${lineClamp}` : ''"
54
54
  >
55
55
  {{ innerValue }}
@@ -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,17 +1,26 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.14",
3
+ "version": "0.7.16",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
7
7
  "type": "module",
8
+ "scripts": {
9
+ "pub": "pnpm dts && pnpm publish --no-git-checks",
10
+ "dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
11
+ "release-major": "standard-version --release-as major ",
12
+ "release-minor": "standard-version --release-as minor",
13
+ "release-patch": "standard-version --release-as patch ",
14
+ "generateComponent": "node ./scripts/createComponent.mjs",
15
+ "generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
16
+ },
8
17
  "publishConfig": {
9
18
  "access": "public",
10
19
  "registry": "https://registry.npmjs.org/"
11
20
  },
12
21
  "peerDependencies": {
13
- "vue": ">=3.2.47",
14
- "@tplc/wot": "1.0.14"
22
+ "@tplc/wot": "workspace:*",
23
+ "vue": ">=3.2.47"
15
24
  },
16
25
  "engines": {
17
26
  "node": ">=18",
@@ -24,14 +33,5 @@
24
33
  },
25
34
  "devDependencies": {
26
35
  "standard-version": "^9.5.0"
27
- },
28
- "scripts": {
29
- "pub": "pnpm dts && pnpm publish --no-git-checks",
30
- "dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
31
- "release-major": "standard-version --release-as major ",
32
- "release-minor": "standard-version --release-as minor",
33
- "release-patch": "standard-version --release-as patch ",
34
- "generateComponent": "node ./scripts/createComponent.mjs",
35
- "generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
36
36
  }
37
- }
37
+ }