@antify/ui 4.1.30 → 4.1.31
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import {
|
|
3
|
-
computed, nextTick, onMounted, ref,
|
|
3
|
+
computed, nextTick, onMounted, ref, watch,
|
|
4
4
|
} from 'vue';
|
|
5
5
|
import AntField from '../forms/AntField.vue';
|
|
6
6
|
import AntBaseInput from './Elements/AntBaseInput.vue';
|
|
@@ -109,6 +109,10 @@ const onBlur = () => {
|
|
|
109
109
|
|
|
110
110
|
emit('update:modelValue', _modelValue.value);
|
|
111
111
|
};
|
|
112
|
+
|
|
113
|
+
watch(() => props.modelValue, (val) => {
|
|
114
|
+
_modelValue.value = val;
|
|
115
|
+
});
|
|
112
116
|
</script>
|
|
113
117
|
|
|
114
118
|
<template>
|