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错误,或者爆红的地方。解决一下即可。

相关推荐
等什么君!5 小时前
初识Vue3(详细版)
前端·vue
占星安啦6 小时前
使用Electron将vue项目改桌面程序
electron·vue·桌面应用
洛小豆14 小时前
为啥我关不掉页面?Chrome扩展开发中的那些坑
前端·javascript·chrome·vue
萧仁武18 小时前
【Vue】以RuoYi框架前端为例,ElementUI封装图片上传组件——将图片信息转成base64后提交到后端保存
vue·ruoyi·base64
dawn1912281 天前
Vue入门之生命周期
前端·javascript·vue.js·前端框架·vue
韶君2 天前
Vue3+ElementPlus 实现动态主题切换
elementui·vue
一 乐3 天前
学校快递站点管理|基于springboot学校快递站点管理设计与实现(源码+数据库+文档)
java·spring boot·vue·论文·源码·毕设·毕设定制
QGC二次开发3 天前
Vue3: readonly与shallowreadonl
开发语言·前端·javascript·vue.js·前端框架·vue
Lucy-3 天前
vue2 搜索高亮关键字
vue