使用mock的时候出现的问题
'@types/mockjs' should be listed in the project's dependencies, not devDependencies import/no-extraneous-dependencies

解决方式:依赖出现问题,重新引入一下依赖即可
在使用MockJS时遇到提示'@types/mockjs'应列在dependencies而非devDependencies中。解决方法是检查并重新安装该项目的依赖。确保MockJS正确配置以避免构建错误。
使用mock的时候出现的问题
'@types/mockjs' should be listed in the project's dependencies, not devDependencies import/no-extraneous-dependencies

解决方式:依赖出现问题,重新引入一下依赖即可
5242

被折叠的 条评论
为什么被折叠?
