Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENOENT: no such file or directory, open '\jeecgboot-vue3-master\jeecgboot-vue3-master\src\components\my-componets\my-date.vue #6232

Open
mingong1hao opened this issue May 18, 2024 · 2 comments

Comments

@mingong1hao
Copy link

版本号:3.6.3(发布日期:2024-03-11)
分支:jeecg-boot master 分支
前端版本: vue3版 3.6.3(发布时间:2024-03-11)
问题描述:

使用Online代码生成,pnpm build 构建报错
1716022137705

使用pnpm dev 启动不报错,但是生成的菜单无法使用
1716022071754

截图&代码:

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖、描述过于简抽象的,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
  • springboot3_sas分支采用 Spring Authorization Server 替换 Shiro,目前是beta版不稳定,生产项目不要使用;
@zhangdaiscott
Copy link
Member

image

怎么重现能生成这个?

@LZW-Andrewlu
Copy link

image
问题原因已发现, 使用DateTime类型的字段后, 生成的代码中有两个Form组件, 其中一个是uniapp的, uniapp生成的代码中包含一个my-date.vue自定义组件的引用. 拷贝代码时肯定拷贝错了. 导致admin工程中包含了uniapp的代码内容.
重新检查生成的代码并拷贝正确的components即可.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants