@tplc/business 0.3.101 → 0.4.1

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.1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.101...v0.4.1) (2025-03-22)
6
+
5
7
  ### [0.3.101](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.100...v0.3.101) (2025-03-22)
6
8
 
7
9
 
@@ -22,6 +22,7 @@
22
22
  :selected="getSelect(item)"
23
23
  ref="dropMenu"
24
24
  @opened="handleOpened"
25
+ @open="handleOpen"
25
26
  >
26
27
  <view class="lcb-filter__popup">
27
28
  <FilterSelect
@@ -119,5 +120,8 @@ const getSelect = (item: FilterComponent) => {
119
120
  const handleOpened = () => {
120
121
  uni.$emit('drop-opened')
121
122
  }
123
+ const handleOpen = () => {
124
+ uni.$emit('drop-open')
125
+ }
122
126
  </script>
123
127
  <style lang="scss" scoped></style>
@@ -40,10 +40,10 @@ const useSelect = (
40
40
  const { data } = await uni.$lcb.http.post<Option[]>(props.apiPath, props.apiParams || {})
41
41
  options.value = data
42
42
  }
43
- if (onOpen) uni.$on('drop-opened', onOpen)
43
+ if (onOpen) uni.$on('drop-open', onOpen)
44
44
  })
45
45
  onUnmounted(() => {
46
- if (onOpen) uni.$off('drop-opened', onOpen)
46
+ if (onOpen) uni.$off('drop-open', onOpen)
47
47
  })
48
48
  const getChecked = (item: Option, valueName?: string) => {
49
49
  const currentValue = valueName ? extraModel?.value[valueName] : model.value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.101",
3
+ "version": "0.4.1",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],