@finema/core 1.4.210 → 1.4.211
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/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
import { computed, type PropType } from 'vue'
|
|
53
53
|
import { useElementVisibility } from '@vueuse/core'
|
|
54
54
|
import { StringHelper } from '#core/utils/StringHelper'
|
|
55
|
-
import { ref, useWatchTrue, watch } from '#imports'
|
|
55
|
+
import { ref, useWatchChange, useWatchTrue, watch } from '#imports'
|
|
56
56
|
import type { IFlexDeckOptions } from '#core/components/FlexDeck/types'
|
|
57
57
|
import Empty from '#core/components/Empty.vue'
|
|
58
58
|
|
|
@@ -125,6 +125,13 @@ const totalInnerRawData = computed((): number => {
|
|
|
125
125
|
return innerRawData.value?.length || 0
|
|
126
126
|
})
|
|
127
127
|
|
|
128
|
+
useWatchChange(
|
|
129
|
+
() => props.pageOptions?.currentPage,
|
|
130
|
+
(value: number) => {
|
|
131
|
+
page.value = value
|
|
132
|
+
}
|
|
133
|
+
)
|
|
134
|
+
|
|
128
135
|
useWatchTrue(
|
|
129
136
|
() => props.status.isSuccess,
|
|
130
137
|
() => {
|