@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
|
-
|
|
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 (
|
|
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,
|