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

相关推荐
吴声子夜歌3 小时前
Vue3——表单元素绑定
前端·vue·es6
DazedMen1 天前
前端自定义接口返回,想咋玩就咋玩
前端·vue·接口拦截
劉三岁2 天前
平板网页开发,px vs rem + 适配方案
vue·电脑
蓝黑20202 天前
Vue组件通信之emit
前端·javascript·vue
吴声子夜歌2 天前
Vue3——v-for指令
前端·javascript·vue
滴滴答答哒3 天前
Vue3 动态路由组件加载:后台字符串到前端懒加载组件的完美转换
vue
阿飞不想努力3 天前
文件上传原理与实操
java·spring boot·vue·文件上传
曲幽4 天前
FastAPI+Vue:文件分片上传+秒传+断点续传,这坑我帮你踩平了!
python·vue·upload·fastapi·web·blob·chunk·spark-md5
蓝黑20205 天前
Vue组件通信之v-model
前端·javascript·vue
不会写DN5 天前
Vue3中的computed 与 watch 的区别
javascript·面试·vue