@ebiz/designer-components 0.0.59 → 0.0.61

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebiz/designer-components",
3
- "version": "0.0.59",
3
+ "version": "0.0.61",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -68,9 +68,9 @@ export default {
68
68
  </script>
69
69
 
70
70
  <script setup>
71
- import { defineProps, defineEmits, ref, onMounted, computed } from 'vue';
71
+ import { defineProps, defineEmits, ref, onMounted, computed, defineExpose } from 'vue';
72
72
  import { dataService, EbizTableSort, EbizTdesignButton, EbizTdesignCard, EbizPageHeader, EbizSForm } from "../../../index"
73
- import { Space as TSpace, Pagination as TPagination, Input as TInput } from 'tdesign-vue-next';
73
+ import { Space as TSpace, Pagination as TPagination, Input as TInput, Icon as TIcon } from 'tdesign-vue-next';
74
74
 
75
75
  const currentPage = ref(1)
76
76
  const pageSize = ref(10)
@@ -255,7 +255,9 @@ const formDataValue = computed({
255
255
  emit('update:formData', value)
256
256
  }
257
257
  })
258
-
258
+ defineExpose({
259
+ loadData
260
+ })
259
261
  </script>
260
262
 
261
263
  <style></style>
@@ -252,7 +252,7 @@ const props = defineProps({
252
252
  })
253
253
 
254
254
  const emit = defineEmits([
255
- 'update:modelValue',
255
+ 'update:visible',
256
256
  'button-click',
257
257
  'dialog-close',
258
258
  'dialog-confirm',
@@ -292,7 +292,7 @@ watch(() => props.visible, (newVal) => {
292
292
 
293
293
  // 监听dialogVisible变化,同步更新modelValue
294
294
  watch(dialogVisible, (newVal) => {
295
- emit('update:modelValue', newVal)
295
+ emit('update:visible', newVal)
296
296
  })
297
297
 
298
298
  // 弹窗关闭事件