完整警告
[Vue warn]: Vue received a Component which was made a reactive object. This can lead to unnecessary
performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.
这是因为参数内容有组件,
如
元素是图标组件
因此需要使用
shallowRef 即可
标签:Vue,vue3,shallowRef,instead,警告,ref From: https://www.cnblogs.com/c2g5201314/p/17633529.html