@tplc/business 0.3.65 → 0.3.66

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,13 @@
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.3.66](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.65...v0.3.66) (2025-03-01)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 选项清空 ([70d55a8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/70d55a83819c3409b54fe42246cfb6ad59f94474))
11
+
5
12
  ### [0.3.65](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.64...v0.3.65) (2025-02-28)
6
13
 
7
14
 
@@ -63,15 +63,17 @@ const props = withDefaults(defineProps<LcbFilterGridProps>(), {
63
63
  })
64
64
  const current = ref(-1)
65
65
  const handleClick = (index: number) => {
66
- current.value = index === current.value ? -1 : index
66
+ const isCurrent = index === current.value
67
+ current.value = isCurrent ? -1 : index
67
68
  try {
68
69
  const params = JSON.parse(props.items?.[index]?.name)
69
- if (index === current.value) {
70
+ if (isCurrent) {
70
71
  Object.keys(params).forEach((key) => {
71
72
  form!.value[key] = undefined
72
73
  })
73
74
  return
74
75
  }
76
+
75
77
  form!.value = {
76
78
  ...form!.value,
77
79
  ...params,
@@ -56,7 +56,7 @@
56
56
  :pictureDistribution="itemNum"
57
57
  :iconType="1"
58
58
  :iconSize="itemIconSize"
59
- :color="itemTextColor"
59
+ :textColor="itemTextColor"
60
60
  :iconTextMargin="24"
61
61
  :textSize="itemTextSize"
62
62
  urlKey="icon"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.65",
3
+ "version": "0.3.66",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],