摘要: 原因:引入模块大小写问题。在目录中是小写的导致上述问题。 ps: 注意这里需要改成./ 千万注意大小写,尽量不全局替换代码。 阅读全文
posted @ 2021-07-26 20:52 敲敲碰碰 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 原因: node-sass或者sass-loader版本过高,我的node版本是 我装的版本是,自测可用。 "node-sass": "^4.14.1", "sass-loader": "^7.2.0" 安装命令:npm i sass-loader@7.2.0 node-sass@4.14.1 -D 阅读全文
posted @ 2021-06-29 16:42 敲敲碰碰 阅读(466) 评论(0) 推荐(0) 编辑
摘要: 然后将红框内的部分更换为:vscode.cdn.azure.cn/,在浏览器粘贴打开即可。 转:https://zhuanlan.zhihu.com/p/112215618 阅读全文
posted @ 2021-06-29 16:29 敲敲碰碰 阅读(145) 评论(0) 推荐(0) 编辑
摘要: //驼峰转下划线 function humpToUnderline(str){ return str.replace(/([A-Z])/g,"_$1").toLowerCase() } //下划线转驼峰 function toCamel(str){ return str.replace(/([^_] 阅读全文
posted @ 2021-06-28 17:26 敲敲碰碰 阅读(220) 评论(1) 推荐(0) 编辑
摘要: url: https://www.baidu.com?test=111 let url = new URL(window.location.href);let parameterZ = url.searchParams.get("test");console.log(parameterZ); // 阅读全文
posted @ 2021-06-28 10:39 敲敲碰碰 阅读(600) 评论(0) 推荐(0) 编辑
摘要: box-shadow: 0 0 20px 0 #ffff8d,0 0 0 2px #ffd180,0 0 0 2000px rgba(0,0,0,.2)!important; 效果: 阅读全文
posted @ 2021-06-28 10:31 敲敲碰碰 阅读(75) 评论(0) 推荐(0) 编辑
摘要: var input = document.getElementById("copyText");input.select(); // 选中文本document.execCommand("copy"); //浏览器复制命令 阅读全文
posted @ 2021-04-09 10:12 敲敲碰碰 阅读(142) 评论(0) 推荐(0) 编辑
摘要: //css书写顺序:1.位置信息position display float overflow clear//css书写顺序:2.大小 width height padding margin border//css书写顺序:3.文字信息//css书写顺序:4.文本信息 text-align:cent 阅读全文
posted @ 2021-03-11 12:25 敲敲碰碰 阅读(440) 评论(0) 推荐(0) 编辑
摘要: #app { .el-tree-node__content label.el-checkbox { display: none; } .el-tree-node__children label.el-checkbox { display: inline-block; margin-left: -5p 阅读全文
posted @ 2021-03-10 14:03 敲敲碰碰 阅读(1624) 评论(0) 推荐(0) 编辑
摘要: 导出代码:this.$http.get(`url`,null) .then(response => { // console.log(response); if (!response) { return } let url = window.URL.createObjectURL(new Blob( 阅读全文
posted @ 2021-01-18 14:26 敲敲碰碰 阅读(337) 评论(0) 推荐(1) 编辑