vue-json-schema-form
vue-json-schema-form copied to clipboard
vue3中watch formData无效
vue和ui框架
vue3、ui框架element-plus
问题描述
使用watch监听formData不生效
如何复现
const formData = reactive({ brandUserId: "" });
watch(
formData,
(newFormData) => {
console.log(newFormData);
},
{ deep: true, immediate: true }
);
期望的结果
能正常监听到formData变化