vue 递归调用组件出错
- 报错信息:
Avoid mutating an injected value directly since the changes will be
overwritten whenever the provided component re-renders. injection being mutated: "parentDrawer"
- 解决方法:改变引入方式
Avoid mutating an injected value directly since the changes will be
overwritten whenever the provided component re-renders. injection being mutated: "parentDrawer"