|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
import type { DeepReadonly, Ref, UnwrapRef, WritableComputedRef } from 'vue' |
|
|
|
|
import { computed, getCurrentInstance, reactive, readonly, toRaw, unref, watchEffect } from 'vue' |
|
|
|
|
import { computed, getCurrentInstance, nextTick, reactive, readonly, toRaw, unref, watchEffect } from 'vue' |
|
|
|
|
|
|
|
|
|
import { isEqual } from 'lodash-es' |
|
|
|
|
|
|
|
|
@ -37,7 +37,9 @@ export function useRuleFormItem<T extends Recordable>(props: T, key: keyof T = '
|
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
innerState.value = value as T[keyof T] |
|
|
|
|
emit?.(changeEvent, value, ...(toRaw(unref(emitData)) || [])) |
|
|
|
|
nextTick(() => { |
|
|
|
|
emit?.(changeEvent, value, ...(toRaw(unref(emitData)) || [])) |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|