![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
idea
深入技术了解原理
这个作者很懒,什么都没留下…
展开
-
创建vue以及报错解决error @achrinza/node-ipc@9.2.2: The engine “node“ is incompatible with this module. Expec
创建vue并处理可能的报错问题原创 2022-12-27 22:05:00 · 34701 阅读 · 0 评论 -
element plus 或者:current-page或者el-pagination无法分页,始终在第一页
我用的是vue3+element plus,当然原理也差不多原因是::current-page不是很支持双向数据绑定所以是应该这样的:在 把 :current-page变成 v-model:current-page就可以了要写好分页可以参考这个更加详细(受此启发):评论区有大神。1、链接: https://blog.csdn.net/qq_33692349/article/details/91490480?ops_request_misc=%257B%2522request%255Fid%252原创 2021-10-27 22:12:22 · 3554 阅读 · 0 评论 -
el-container布局不正常、el-header与el-aside与el-main分离并各个封装成组件并引用解决方法
我做毕设时候后台使用elemnt框架,直接去官网上获取他的代码:但是他们是一个界面的方式,而不是自己需要的模板,或者各个封装成组件,做成公共组件。官网链接:链接: https://element-plus.gitee.io/zh-CN/component/container.html#%E4%BE%8B%E5%AD%90.现在做成顶部导航(通过官网提供的代码,我们提取出来):左侧导航:引用并与主体使用效果:大概思路就是这样,必要的样式我还没太多修改,毕竟是毕设,样式不可能这么别致。不能说人家原创 2021-10-22 15:09:21 · 1942 阅读 · 0 评论 -
关于element-plus中el-menu或者el-menu-item导致无法跳转问题或者无法路由或闪动问题解决方法
原本界面:我出现的点击首页没有跳转,而点击其他的就跳转原本的代码:下面展示一些 内联代码片。 <el-menu background-color="#545c64" text-color="#fff" active-text-color="#ffd04b" > <el-menu-item index="/原创 2021-10-20 15:46:08 · 12852 阅读 · 4 评论 -
mapper文件无法注入service里面的问题解决,字段 userMapper 需要一个无法找到的类型为“XXX.UserMapper”的 bean。
问题:Description:Field userMapper in com.sise.tsgdemo.Service.UserService required a bean of type 'com.sise.tsgdemo.mapper.UserMapper' that could not be found.The injection point has the following annotations: - @org.springframework.beans.factory.annot原创 2021-10-17 22:15:50 · 2546 阅读 · 0 评论 -
idea连接MySQL出现com.mysql.jdbc.Driver已被弃用,错误解决两种方法
Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver’. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.翻译:加载类com.mysql.jdbc.Driver'。 这原创 2021-06-01 11:03:10 · 1983 阅读 · 0 评论 -
springboot上传文件时MultipartFile报空问题解决方法或者无法获取文件原始名
问题出现在前后端名字不一致上。大小写必须一致。(我错误的地方就是大小写)修改前前端后端所以要名字一致,大小写相同。运行结果原创 2021-05-24 20:20:56 · 389 阅读 · 0 评论 -
使用idea给maven的web项目打包
配置好Tomcat服务器(这里使用Tomcat服务器,可以使用其他服务器)勾选这两个选项选择本地的Tomcat服务器这里我配置好的开始打包原创 2021-04-12 10:24:49 · 161 阅读 · 0 评论 -
idea中出现非法字符: ‘\ufeff’,需要class, interface或enum
Error:(1, 1) java: 非法字符: ‘\ufeff’Error:(1, 10) java: 需要class, interface或enum解决方法:在idea右下角点那个编码:从gbk转换为utf-8。注意有可能导致文件中文乱码,所以提前备份一下,以防万一。如果设置为utf-8测试时还是不行,试试有gbk的方式执行代码试试。...原创 2021-04-08 21:22:26 · 351 阅读 · 0 评论