获得徽章 6
大佬们,Vue3+TS 直接把props的值赋值给formData会提示这个错误
Getting a value from the `props` in root scope of `<script setup>` will cause the value to lose reactivity.eslintvue/no-setup-props-destructure
请问你们是怎么将props赋值给formData的呢?我下面注释的 watch 是可以的,还有其他方法吗?
展开
大块头君于2023-12-13 16:36发布的图片
11
下一页
个人成就
文章被点赞 22
文章被阅读 6,019
掘力值 172
收藏集
11
关注标签
62
加入于