上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
一、使用postMessage在irfame中实现跨域数据传递 1、父页面内容 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <h1>主页面</h1> <iframe id="c Read More
posted @ 2022-03-10 15:20 秃头的铲屎官 Views(11860) Comments(0) Diggs(1) Edit
-webkit-touch-callout:none; /*系统默认菜单被禁用*/ -webkit-user-select:none; /*webkit浏览器*/ -khtml-user-select:none; /*早期浏览器*/ -moz-user-select:none;/*火狐*/ -ms- Read More
posted @ 2022-03-10 10:58 秃头的铲屎官 Views(37) Comments(0) Diggs(0) Edit
原因是vue-router的版本安装的是4.0的版本, 重新执行以下命令: npm uni vue-router //删除vue-router npm i vue-router@3.5.3 //安装指定版本的vue-router Read More
posted @ 2022-02-15 14:46 秃头的铲屎官 Views(1104) Comments(0) Diggs(0) Edit
解决方式: 在vue.config.js中添加: configureWebpack: { module:{ rules:[{ test:/\.mjs$/, include:/node_modules/, type:'javascript/auto' }] } } Read More
posted @ 2022-02-08 11:55 秃头的铲屎官 Views(2744) Comments(2) Diggs(0) Edit
解决办法:升级vue 到最新版本 执行 npm install vue@3.2.4 --force Read More
posted @ 2022-02-08 11:52 秃头的铲屎官 Views(1378) Comments(0) Diggs(0) Edit
语法 .表示除\n之外的任意字符+匹配前面的子表达式一次或多次。(?<=exp)是以exp开头的字符串, 但不包含本身。(?=exp)就匹配为exp结尾的字符串, 但不包含本身。注:语句外面的括号不可省略g匹配全局 实现 1、获取括号的内容,包换括号 var str="123{456}hhh[789 Read More
posted @ 2021-12-08 08:15 秃头的铲屎官 Views(6645) Comments(0) Diggs(0) Edit
最近项目中刚好使用了甘特图,第一次使用,在此记录一下,有需要的同学可以借鉴一下。 首先来个效果图吧,哈哈哈~~~ 因为这里用到了dhtmlx这个甘特图的组件,有些功能要专业版才能使用,但是免费的基本上符合需求了 插件文档地址:https://docs.dhtmlx.com/gantt/api__re Read More
posted @ 2021-11-26 16:06 秃头的铲屎官 Views(6670) Comments(0) Diggs(0) Edit
Syntax Error: SassError: semicolons aren't allowed in the indented syntax. ╷1 │ $color1: rgba(31, 36, 33, 1); │ ^ ╵ node_modules\v-bar\src\sass\import Read More
posted @ 2021-09-28 15:28 秃头的铲屎官 Views(2323) Comments(0) Diggs(0) Edit
npm uninstall --save sass-loader // 卸载 npm i -D sass-loader@8.x // 安装 npm uninstall --save node-sass // 卸载 npm i node-sass@4.14.1 // 安装 // 如果node-sass Read More
posted @ 2021-08-18 16:21 秃头的铲屎官 Views(339) Comments(0) Diggs(0) Edit
//除去千分位 function clearComma(num) { if(num&&num!='undefined'&&num!='null'){ let numS = num; numS = numS.toString(); numS = numS.replace(/,/gi, ''); ret Read More
posted @ 2021-07-22 10:40 秃头的铲屎官 Views(436) Comments(0) Diggs(1) Edit
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页