摘要: 因为要生成动态查询,所以想把查询字段转为动态添加的,然后使用el-input时候,发现el-input无法输入,然后打印出来的话就只能显示输入的第一个字符, 后来查询了网上的办法发现,这是因为嵌套太深了,办法是 需要 $forceUpdate() 强制刷新 输入框: <el-input style= 阅读全文
posted @ 2023-08-01 10:52 妞妞猪 阅读(1352) 评论(0) 推荐(1)
摘要: 原因是由于elementui中的固定列产生的影响, doExportExcel(){//导出为excel let wb = '' let xlsxParam = { raw: true } let fix = document.querySelector(".el-table__fixed-righ 阅读全文
posted @ 2023-07-21 15:34 妞妞猪 阅读(364) 评论(0) 推荐(0)
摘要: 最近遇到个新功能,就是需要进行动态sql的查询,因为不确定会有多少个查询条件,所以就搜集各种资料,发现springboot中有两种方式,一种是注解形式,一种是xml的形式,我用的是注解的形式,xml的可以参考https://blog.csdn.net/qq_61903414/article/deta 阅读全文
posted @ 2023-07-21 10:06 妞妞猪 阅读(453) 评论(0) 推荐(0)
摘要: 在使用el-popover和el-tabs嵌套时出现了这样的bug,组件第一次生成时消息下面的蓝条会消失,需要手动点击之后才会重新出现,记录一下该问题,希望对同样遇到问题的同学有所帮助 后来我通过这位博主(http://hk.aiuxian.com/article/p-eirtvdap-ne.htm 阅读全文
posted @ 2023-07-14 10:40 妞妞猪 阅读(741) 评论(0) 推荐(0)
摘要: 1.引入依赖 npm install cropperjs 2.使用 import 'cropperjs/dist/cropper.css'; import Cropper from 'cropperjs'; 3.页面及样式,这边我是参考这位up主的(https://blog.csdn.net/wei 阅读全文
posted @ 2023-07-13 14:14 妞妞猪 阅读(500) 评论(0) 推荐(0)
摘要: 最近要做一个置顶聊天框的功能,想着要给他做成可以拖动的 一开始使用的是@mousedown+@mousemove+@mouseup来进行小窗口的拖动,但是出现拖动的时候小窗会闪烁,并且位置距离也不好把控,效果不好。然后借鉴了网上大神的帖子,使用v-drage和directives对div进行拖动 首 阅读全文
posted @ 2023-07-11 09:12 妞妞猪 阅读(49) 评论(0) 推荐(0)
摘要: 最近在学习使用用的mybatis-plus生成器生成的controller,entity,mapper,service,serviceImp,然后运行mapper.insert插入操作,报"Invalid bound statement (not found): xxxx,xxxxMapper,in 阅读全文
posted @ 2023-07-10 09:49 妞妞猪 阅读(282) 评论(0) 推荐(0)
摘要: 1.安装依赖 npm install vue-contextmenujs 2.引用在main.js中 import Contextmenu from "vue-contextmenujs" Vue.use(Contextmenu); 3.使用示例 我是在elementui表格中使用的 <templa 阅读全文
posted @ 2023-07-06 10:34 妞妞猪 阅读(1947) 评论(0) 推荐(0)
摘要: 1.安装依赖 npm install --save vue-clipboard2 2.引入 import VueClipBoard from 'vue-clipboard2' Vue.use(VueClipBoard) 3.示例有两种使用方法 参考https://blog.csdn.net/Li8L 阅读全文
posted @ 2023-07-06 10:17 妞妞猪 阅读(613) 评论(0) 推荐(0)
摘要: 1.安装依赖 npm i monaco-editor npm i monaco-editor-webpack-plugin 2.使用示例 <!-- 代码编辑器控件 --> <template> <div id="monacoEditorContainer" style="width: 100%; h 阅读全文
posted @ 2023-07-06 09:59 妞妞猪 阅读(1207) 评论(0) 推荐(1)