删除门店功能loading报错
来源:9-20 【阶段练练练】编写门店删除功能

weixin_慕仙5147168
2023-12-04
删除门店功能是按仓库代码做的,并且把课程仓库的代码切换到e1eafc5 feat: 🎸 编写门店删除功能 后,loading也是会飘红的,如何解决?
不能将类型“{ children: Element; title: string; description: string; loading: boolean | ((id: number, callback: () => void) => Promise); onConfirm: () => void; }”分配给类型“IntrinsicAttributes & PopconfirmProps & RefAttributes”。
类型“IntrinsicAttributes & PopconfirmProps & RefAttributes”上不存在属性“loading”。ts(2322)
写回答
1回答
-
黑石
2023-12-04
安装包的版本需要跟课程里的版本保持一致,尤其是保证 lock 文件一致。
00
相似问题