vue-router.esm.js?fe87:10 Uncaught (in promise) Error: [vue-router] route config "component" for path: /system cannot be a string id. Use an actual component instead.
因为是addrouter 通过后台组装返回的数据 导致component为字符窜 请问有什么方法能去掉吗
vue-router.esm.js?fe87:10 Uncaught (in promise) Error: [vue-router] route config "component" for path: /system cannot be a string id. Use an actual component instead.
因为是addrouter 通过后台组装返回的数据 导致component为字符窜 请问有什么方法能去掉吗
9 回答3.1k 阅读
4 回答1.8k 阅读
6 回答909 阅读✓ 已解决
5 回答886 阅读✓ 已解决
5 回答997 阅读
4 回答606 阅读✓ 已解决
8 回答1.1k 阅读
试下动态组件:https://cn.vuejs.org/v2/guide...