我想做一个动态的菜单,但是得到了这样的警告。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`

封装了一下 el-menu。
依赖json动态渲染的菜单。
功能实现了,但是出现这样的警告:

runtime-core.esm-bundler.js:38 [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`. 
Component that was made reactive

如果不使用 reactive,就可以避免这样的警告,但是不能在运行时动态改变菜单了。

Vue3 不是响应性的吗,使用 reactive 就是想动态渲染,结果出现这样的警告。

如何做到,不出现警告,还能动态改变菜单呢?