Loading

摘要: 1.消息发送 let routeData = this.$router.resolve({ path: '/web-view', }); const targetwindow = window.open(routeData.href, '_blank'); let message = { name: 阅读全文
posted @ 2023-03-09 09:46 请叫我王小胖 阅读(171) 评论(0) 推荐(0)
摘要: vue中内容中间空格无论输入多少只会展示一个,可使用v-html来实现多空格展示 &nbsp; 英文空格 &emsp; 中文空格 <div v-html="'价&emsp;&emsp;格'"></div> 或者使用white-space: pre; 直接使用空格 <div style="white- 阅读全文
posted @ 2022-12-06 13:59 请叫我王小胖 阅读(2943) 评论(0) 推荐(0)
摘要: 文字超出时折行 ::v-deep .tree { width: 100%; .el-tree-node { white-space: normal; .el-tree-node__content { height: 100%; align-items: start; } } } 文字超出时省略 :: 阅读全文
posted @ 2022-11-18 23:05 请叫我王小胖 阅读(1286) 评论(0) 推荐(0)
摘要: <keep-alive>有下面三个属性 include 字符串,数组或正则表达式。只有名称匹配的组件会被缓存。 exclude 字符串,数组或正则表达式。任何名称匹配的组件都不会缓存。 max 数字。最多可以缓存多少组件实例。 使用数组时可动态加载。 重点!!! 这里存的数组是name值 而name 阅读全文
posted @ 2022-09-26 17:28 请叫我王小胖 阅读(38) 评论(0) 推荐(0)
摘要: 1、first-child first-child表示选择列表中的第一个标签。例如:li:first-child{background:#fff} 2、last-child last-child表示选择列表中的最后一个标签,例如:li:last-child{background:#fff} 3、nt 阅读全文
posted @ 2022-07-28 11:18 请叫我王小胖 阅读(10439) 评论(0) 推荐(0)
摘要: 日常使用的工具链接,后期慢慢积累 阅读全文
posted @ 2022-07-18 10:26 请叫我王小胖 阅读(111) 评论(0) 推荐(0)
摘要: 1.页面 <div ref="docsRef" id="fileView" class="view" :style="{ height: viewHeight + 'px' }"></div> <div v-if="fileType == 'pdf'" v-loading="loading" cla 阅读全文
posted @ 2022-06-23 11:21 请叫我王小胖 阅读(4031) 评论(0) 推荐(0)
摘要: 1.npm 引入 npm install vue-quill-editor --save npm install quill --save 2.main引入 import VueQuillEditor from 'vue-quill-editor' import 'quill/dist/quill. 阅读全文
posted @ 2022-06-23 10:16 请叫我王小胖 阅读(217) 评论(0) 推荐(0)
摘要: 1. main.js引入iview import iView from 'iview'; import 'iview/dist/styles/iview.css'; // 使用 CSS Vue.use(iView); 2.页面 <template> <div class="demo-split"> 阅读全文
posted @ 2022-05-06 10:54 请叫我王小胖 阅读(1035) 评论(0) 推荐(0)
摘要: 该情况是在form下嵌套多个for循环类型的form html页面 <el-form :model="dataForm" :rules="dataRule" ref="dataForm" style="height: 60vh;overflow: auto" label-width="150px" 阅读全文
posted @ 2022-05-06 10:24 请叫我王小胖 阅读(484) 评论(0) 推荐(0)