- 博客(32)
- 收藏
- 关注
原创 在<script setup lang=“ts“>中使用rules对表单进行验证邮箱和电话
【代码】在<script setup lang=“ts“>中使用rules对表单进行验证邮箱和电话。
2024-03-12 22:07:49
437
原创 前端el-date-picker传递的日期格式不是自己想要的格式
注意:日期格式要用大写!用小写会出现错误,不能回填选择的日期,会直接传入小写的字母,用大写才能完整回填选择的日期。添加format和value-format属性进行解决。
2024-03-03 20:54:54
1128
原创 Property ‘glob‘ does not exist on type ‘ImportMeta‘
参考文章:vite导入文件,Property ‘globEager‘ does not exist on type ‘ImportMeta‘
2024-03-02 02:15:41
692
原创 npm install pinia-plugin-persist npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve
peerOptional@vue/composition-api@“^1.0.0”来自pinia-plugin-persist@1.0.0。来自@element plus的peer vue@“^3.2.0”/icons-vue@2.3.1。来自@vitejs的peer vue@“^3.2.25”/plugin-vue@5.0.4。npm ERR@元素加/图标vue@“^2.3.1”来自element-plus@2.5.6。dev@vitejs/plugin-vue@“^5.0.3”来自根项目。
2024-03-02 00:49:06
1642
原创 Elements in iteration expect to have ‘v-bind:key‘ directives.
参考文章:vue使用v-for循环时报错:[vue/require-v-for-key] Elements in iteration expect to have ‘v-bind:key‘ directives
2024-03-01 20:02:15
308
原创 `slot` attributes are deprecated.
参考文章:怎么解决slot attributes are deprecated vue/no-deprecated-slot-attribute
2024-02-29 20:54:24
496
原创 maven Package 程序包不存在
3.之后对出现问题的子模块执行clean和Package,之后对子模块进行操作。1.在依赖的模块的pom.xml文件中找到。
2024-02-26 20:44:03
621
原创 ‘scope‘ is declared but its value is never read.ts(6133)
参考文章:Vue项目报错:error ‘scope’ is defined but never used vue/no-unused-vars
2024-02-25 22:55:17
261
原创 res.code报错Property ‘code‘ does not exist on type ‘{}‘.ts(2339)
参考文章:TS类型定义ts(2339)问题
2024-02-25 21:14:53
438
原创 No plugin found for prefix ‘help‘ in the current project and in the plugin groups [org.apache.maven.
解决办法:执行cmd命令的时候使用管理员权限!修改仓库地址到另外一个不需要管理员权限就能运行的盘符或者给仓库地址增加权限。再去执行命令: mvn help:system ,终于看到了想要的结果!仓库文件夹下也有了文件。
2024-02-24 22:57:57
675
原创 ‘XXX‘ is never reassigned. Use ‘const‘ instead.
参考文章:error ‘xxx‘ is never reassigned. Use ‘const‘ instead prefer-const
2024-02-24 15:14:58
278
原创 Type ‘AxiosRequestConfig<any>‘ is not assignable to type ‘InternalAxiosRequestConfig<any> | Promise<
改变的地方:在使用拦截器时,使用InternalAxiosRequestConfig而不使用AxiosRequestConfig。
2024-02-24 15:12:23
748
原创 Cannot find module ‘XXX‘ or its corresponding type declarations
参考文章:vue+ts项目中import图片时报错Cannot find module ‘xxx‘ or its corresponding type declarations
2024-02-23 20:04:44
805
原创 Component name “Index“ should always be multi-word
参考文章:在 vue eslint 报错 error “Component name “*****“ should always be multi-word”,该怎么办?解决:Component name “index“ should always be multi-word
2024-02-23 17:19:05
612
原创 maven项目出现‘dependencies.dependency.[aaa]for aaa is referencing itself. @aaa
原因:可能是pom.xml文件中写入了多个com.best->b->2SHOT,将多余的删除,即可。可以删除之后,重新安装一下相关的maven依赖。
2024-01-20 04:38:09
554
原创 Maven编译项目时遇到问题:Please refer to F:\地址 for the individual test results. Please refer to dump files....
Please refer to F:\地址 for the individual test results.2.方法二:点击maven“切换跳过测试模式”按钮。1.方法一:修改pom.xml文件。
2024-01-14 22:32:20
1215
1
原创 配置IDEA当前项目的JDK
参考文章:IntelliJ IDEA 中如何配置项目的jdkIntelliJ IDEA 之 配置JDK 的 4种方式IDEA 配置 JDK 图文教程(超详细)
2024-01-14 19:40:15
797
1
原创 如何运行别人的vue
参考文章:如何运行vue项目(超详细图解)运行npm install 时,卡在sill idealTree buildDeps没有反应三大案例参考:
2024-01-12 19:52:58
334
原创 访问tomcat出现java.lang.IllegalStateException无法输出目录
访问tomcat出现java.lang.IllegalStateException No output folder错误解决方法:
2024-01-12 16:18:04
703
原创 如何安装多个jdk并方便自由切换
参考文章:一台电脑,如何安装多个JDK版本并保证jdk版本自由切换(多个jdk如何配置环境变量)如何安装多个jdk并方便切换系统jdk版本
2024-01-12 15:31:27
422
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人