Loading

摘要: es 可选链操作符(?.) 和 双问号(??)的用法 左边的值是 null 或者 undefined,那么就返回右边的值。 阅读全文
posted @ 2022-04-02 10:18 请叫我王小胖 阅读(1062) 评论(0) 推荐(0)
摘要: uni.setTabBarItem 执行本操作一定要在 tabbar 页面 阅读全文
posted @ 2022-03-23 15:16 请叫我王小胖 阅读(249) 评论(0) 推荐(0)
摘要: http://color.oulu.me/index.html 阅读全文
posted @ 2022-01-18 08:59 请叫我王小胖 阅读(16) 评论(0) 推荐(0)
摘要: 根据中心点位/斜边长度/角度 生成随机裂缝坐标轴 已知裂缝中心点位 /裂缝长度/角度 生成裂缝位置形状坐标图 效果图 页面代码 <el-row v-show="showChart"> <el-col :push="2" :span="20"> <div id="axis"></div> </el-col> </el-row> <el-button 阅读全文
posted @ 2022-01-06 15:43 请叫我王小胖 阅读(156) 评论(0) 推荐(0)
摘要: elementUI-table Shift多选 1.页面 table上加 @select="pinSelect" ref="multipleTable" 2.定义字段 origin: -1, // 起点数 pin: false, // 默认shift不按住 3.页面加载时监听按键 mounted () { window.addEventListe 阅读全文
posted @ 2021-12-28 17:10 请叫我王小胖 阅读(640) 评论(0) 推荐(0)
摘要: vue 页面实现拖拽调整元素宽度 方法可分为两种 第一种 使用iviewUI 的split 面板分割组件 第二种就是自己写一个监听鼠标点击移动位置 一. 使用iview 的split 面板分割组件 这里是说明链接 https://www.cnblogs.com/wjian0916/p/16227825.html 二. 监听鼠标 1. 阅读全文
posted @ 2021-12-24 17:10 请叫我王小胖 阅读(2682) 评论(0) 推荐(0)
摘要: 1 Debugger for Chrome 2 Auto Close Tag 3 Auto Complete Tag 4 Auto Import 5 Auto Import - ES6, TS, JSX, TSX 6 Auto Rename Tag 7 Beautify 8 Bracket Pair 阅读全文
posted @ 2021-12-22 09:54 请叫我王小胖 阅读(107) 评论(0) 推荐(0)
摘要: 1.上图 2.引入 tui-image-editor npm i tui-image-editor 3.直接上代码 1 <template> 2 <el-dialog append-to-body :visible.sync="imgVisible" :title="imgName" width=" 阅读全文
posted @ 2021-12-21 09:09 请叫我王小胖 阅读(4608) 评论(7) 推荐(0)
摘要: ECharts 样式库 makeapie地址 (ECharts 样式库 图表美化) 地址已失效 https://www.makeapie.com/explore.html Make A Pie 社区停止服务 下面是找到的几个平替/备份网站 http://echarts.zhangmuchen.top/#/index htt 阅读全文
posted @ 2021-12-14 17:57 请叫我王小胖 阅读(757) 评论(0) 推荐(0)
摘要: 1、命令行临时使用指定镜像 npm --registry https://registry.npmmirror.com install express 2、永久使用指定镜像 npm config set registry https://registry.npmmirror.com 3、使用cnpm 阅读全文
posted @ 2021-12-08 11:08 请叫我王小胖 阅读(883) 评论(0) 推荐(0)