Vue3 typescript 中使用<component> 渲染多个动态组件类型报错
2025-03-03ts-plugin(7053)元素隐式具有 "any" 类型,因为类型为 "string" 的表达式不能用于索引类型 "{ Home: DefineComponent;是一个实用类型,用于创建一个新对象类型,其键是类型。在TypeScript中,_不能将类型“definecomponent<{}, {}, {}, {}, {}, componentoptionsmixin, compo
2025-03-03ts-plugin(7053)元素隐式具有 "any" 类型,因为类型为 "string" 的表达式不能用于索引类型 "{ Home: DefineComponent;是一个实用类型,用于创建一个新对象类型,其键是类型。在TypeScript中,_不能将类型“definecomponent<{}, {}, {}, {}, {}, componentoptionsmixin, compo