@tplc/business 0.3.1 → 0.3.2

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.
@@ -20,7 +20,7 @@
20
20
  currentLevelFlag
21
21
  "
22
22
  >
23
- <BtnViews :buttonList="modelValue.buttonList" />
23
+ <BtnViews :buttonList="modelValue.buttonList" @refresh="emits('refresh')" />
24
24
  </template>
25
25
  </view>
26
26
  </wd-popup>
@@ -32,6 +32,7 @@ import { UserLevelRightsList } from '../../api'
32
32
  import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
33
33
  import { watch, ref } from 'vue'
34
34
  const show = ref(false)
35
+ const emits = defineEmits(['refresh'])
35
36
  defineProps<{
36
37
  hiddenDrawdown?: boolean
37
38
  currentLevelFlag?: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -16,11 +16,13 @@ declare const _default: import('vue').DefineComponent<
16
16
  import('vue').ComponentOptionsMixin,
17
17
  {
18
18
  'update:modelValue': (modelValue: UserLevelRightsList) => void
19
+ refresh: (...args: any[]) => void
19
20
  },
20
21
  string,
21
22
  import('vue').PublicProps,
22
23
  Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
23
24
  'onUpdate:modelValue'?: ((modelValue: UserLevelRightsList) => any) | undefined
25
+ onRefresh?: ((...args: any[]) => any) | undefined
24
26
  },
25
27
  {},
26
28
  {}