vue3使用ruoyi框架出现Does the file exist

复制代码
Failed to load url /src/api/system/operations/index (resolved id: E:/githubSpace/xxx-cloud/xxx-ui/kxcharge-ui-admin/src/api/system/operations/index) in E:/githubSpace/xxx-cloud/xxx-ui/xxx-ui-admin/src/views/operations/currentOrder/index.vue. Does the file exist?

vue3使用ruoyi框架出现Does the file exist 。配置对应的菜单,这个文件明明是存在的。但是点开菜单一直出现如下报错。

Failed to load url /src/api/system/operations/index (resolved id: E:/githubSpace/xxx-cloud/xxx-ui/kxcharge-ui-admin/src/api/system/operations/index) in E:/githubSpace/xxx-cloud/xxx-ui/xxx-ui-admin/src/views/operations/xxx/index.vue. Does the file exist?

解决办法

src/views/operations/xxx/index.vue

点开对应的内页,检查这个页面,是否有import错误,或者爆红的地方。解决一下即可。

相关推荐
木子李BLOG6 小时前
vue.js设计与实现(待续)
vue
悟能不能悟12 小时前
reason: unable to verify the first certificate 如何处理
vue
!win !1 天前
通过重写组件轻松掌握用JSX写Vue项目
vue·jsx
zy happy2 天前
RuoyiApp 在vuex,state存储nickname vue2
前端·javascript·小程序·uni-app·vue·ruoyi
小阳生煎2 天前
Vue实现全局设置一个刷新按钮 只刷新当面路由页面 不跳转操作功能
vue.js·vue
Zzzzzxl_2 天前
互联网大厂前端面试实录:HTML5、ES6、Vue/React、工程化与性能优化全覆盖
性能优化·vue·es6·react·html5·前端面试·前端工程化
李慕婉学姐2 天前
【开题答辩过程】以《基于微信小程序垃圾分类图像识别技术实现》为例,不会开题答辩的可以进来看看
spring boot·微信小程序·vue
故事不长丨3 天前
【Java SpringBoot+Vue 实现视频文件上传与存储】
java·javascript·spring boot·vscode·后端·vue·intellij-idea
咚咚咚小柒3 天前
【前端】Webpack相关(长期更新)
前端·javascript·webpack·前端框架·node.js·vue·scss
老华带你飞4 天前
房屋租赁|房屋出租|房屋租赁系统|基于Springboot的房屋租赁系统设计与实现(源码+数据库+文档)
java·数据库·spring boot·vue·论文·毕设·房屋租赁系统