摘要: downLoad (rows) { if (rows) { let params = { id: rows.id, fileNames: rows.docPath, type: 'doc' } downLoadFileZip(params).then(resp => { let blob = new 阅读全文
posted @ 2021-09-17 16:23 一两米 阅读(312) 评论(0) 推荐(0) 编辑
摘要: <template> <el-upload ref="uploadFile" :class="[showUploadBtn ? '' : 'hidden-Btn']" //是否隐藏点击上传的按钮 :disabled="!showUploadBtn" //是否隐藏文件删除标记 action="#non 阅读全文
posted @ 2021-09-17 16:22 一两米 阅读(4393) 评论(0) 推荐(0) 编辑
摘要: 如图所示: css样式: ::-webkit-scrollbar { width: 10px !important; height: 8px !important; background-color: #515a6e !important; -webkit-transition: backgroun 阅读全文
posted @ 2021-09-09 10:44 一两米 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 先看一下效果图: 简单粗暴,上代码: <template> <div class="listMenu-wrap"> <ul class="list-ul" v-for="(item, index) in data" :key="index"> <li :class="[currentIndex in 阅读全文
posted @ 2021-09-08 10:24 一两米 阅读(1011) 评论(0) 推荐(0) 编辑
摘要: 简易的命令行入门教程: Git 全局设置: git config --global user.name "一两米" git config --global user.email "26098979@qq.com" 创建 git 仓库: mkdir yiliangmi2 cd yiliangmi2 g 阅读全文
posted @ 2021-09-01 10:57 一两米 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 事情是这样的,我做了一个token拦截器,然后想在swagger上测试,结果发现配置swagger资源不被拦截后并没有生效,请求swagger页面时,仍然跳转到自定义的拦截器中,配置如下图所示: 附上一个拦截器的配置方式:防止SpringMVC拦截器拦截js等静态资源文件 最后发现是因为swagge 阅读全文
posted @ 2021-08-31 19:28 一两米 阅读(107) 评论(0) 推荐(0) 编辑
摘要: springboot获取当前项目所有URL和URL描述: https://www.cnblogs.com/xwxz/p/13998843.html SSM 项目中加入Swagger: https://blog.csdn.net/qq_41323073/article/details/10712770 阅读全文
posted @ 2021-08-27 10:11 一两米 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 使用伪元素方式,效果如下: 全部代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> .plus-icon { width: 72.22px; height: 7 阅读全文
posted @ 2021-08-10 09:46 一两米 阅读(987) 评论(0) 推荐(0) 编辑
摘要: <script> export default { methods: { open() { const url = require(“../../我是图片.png”) this.$alert('<img src = "+ ' url '+" />', 'HTML 片段', { dangerously 阅读全文
posted @ 2021-06-11 10:48 一两米 阅读(2128) 评论(0) 推荐(0) 编辑
摘要: 从树状列表中,查询到指定id的节点并返回: getTreeItem(data, code){ let result let hasFound = false const fn = function(data, code){ for(let i=0; i < data.length; i++){ if 阅读全文
posted @ 2021-03-09 15:55 一两米 阅读(302) 评论(0) 推荐(0) 编辑