上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: npm install 安装依赖的时候,报python的错误 先安装cnpm npm install -g cnpm --registry=https://registry.npm.taobao.org npm install --global --production windows-build- 阅读全文
posted @ 2022-10-10 12:32 DL·Coder 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 引入 ElementUI ,单独引入文件的都能使用 import ElementUI from 'element-ui'; Element.MessageBox.confirm('是否要跳转段落?', '提示', { confirmButtonText: '是', cancelButtonText: 阅读全文
posted @ 2022-09-28 19:58 DL·Coder 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 下拉多选 <template> <el-form> <el-form-item label="上级组织:" label-width="100px" prop="parent_id"> <el-select ref="treeSelect" v-model="form.parent_id" place 阅读全文
posted @ 2022-09-05 13:59 DL·Coder 阅读(23) 评论(0) 推荐(0) 编辑
摘要: Object.defineProperty 实现 相当于全局劫持 a ,只要发现 a ,就执行方法(三目运算符); Object.defineProperty(window, 'a', { get: function () { //this指向window.a this.value ? this.v 阅读全文
posted @ 2022-09-01 14:11 DL·Coder 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 手机端ui框架:https://varlet.gitee.io/varlet-ui/#/zh-CN/button 阅读全文
posted @ 2022-09-01 09:47 DL·Coder 阅读(14) 评论(0) 推荐(0) 编辑
摘要: tailwindcss:https://tailwindcss.com/ Windi CSS:https://cn.windicss.org/ unocss unocss是Anthony Fu大佬写的; unocss:https://github.com/unocss/unocss 阅读全文
posted @ 2022-09-01 09:36 DL·Coder 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Math.random() 返回一个0~1之间的随机数; Math.floor() 向下取整; Math.ceil() 向上取整; Math.round() 四舍五入; Math.fround() 32位浮点数; 1~10随机数 let num = Math.floor(Math.random() 阅读全文
posted @ 2022-08-30 14:45 DL·Coder 阅读(1680) 评论(0) 推荐(0) 编辑
摘要: 传送门:https://blog.csdn.net/weixin_43575792/article/details/123224908 阅读全文
posted @ 2022-08-30 14:30 DL·Coder 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 传送门:82种阴影效果demo 传送门:https://juejin.cn/post/7034323356459466760 阅读全文
posted @ 2022-08-30 11:56 DL·Coder 阅读(19) 评论(0) 推荐(0) 编辑
摘要: <div @mousedown.self="handleMouseDown($event)"> /* 鼠标按下方法 */ handleMouseDown(event) { if(event.ctrlKey && event.which 1) { // ctrl + 鼠标左键组合键触发 } else 阅读全文
posted @ 2022-08-30 11:27 DL·Coder 阅读(464) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页