摘要: 1、vscode有些下载是有权限的,用命令行下载 2、用管理员权限下载 3、用cnpm 淘宝镜像下载 (快) 4、 https://my.oschina.net/u/3914215/blog/5553110 5、下载pnpm 后无法使用pnpm,需要配置环境变量;配置完环境变量后用admin的命令可 阅读全文
posted @ 2023-12-07 11:41 ouhongxiu 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 问题:第一行数据可以拖动进入调试状态;拖动其它数据,不进入调试状态,也拖动不成功 解决:去掉这里的debugger 原因:未知 阅读全文
posted @ 2022-09-23 11:29 ouhongxiu 阅读(270) 评论(0) 推荐(0) 编辑
摘要: parseInt() 函数更专注于字符串是否包含数值模式 字符串最前面的空格会被 忽略,从第一个非空格字符开始转换。如果第一个字符不是数值字符、加号或减号, parseInt() 立即 返回 NaN 。这意味着空字符串也会返回 NaN (这一点跟 Number() 不一样,它返回 0) parseF 阅读全文
posted @ 2022-02-20 22:26 ouhongxiu 阅读(25) 评论(0) 推荐(0) 编辑
摘要: style='background-color:yellow; color:white;' 阅读全文
posted @ 2022-02-18 11:30 ouhongxiu 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 改成这样就行了 阅读全文
posted @ 2022-02-17 10:22 ouhongxiu 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 问题:[vite] Internal server error: Missing semicolon. (62:14) 解决:不应该有逗号,应该是分号或者不填 阅读全文
posted @ 2021-10-19 16:45 ouhongxiu 阅读(1521) 评论(0) 推荐(0) 编辑
摘要: 问题: 1、npm 下载一个VueLazyload之后, 2、报错 index.js?bed3:161 [WDS] Errors while compiling. Reload prevented. errors @ index.js?bed3:161 index.js?bed3:167 ./nod 阅读全文
posted @ 2021-09-22 14:28 ouhongxiu 阅读(83) 评论(1) 推荐(0) 编辑
摘要: .clear zoom: 1 /伪元素/ .clear:after content: "" display: block /清除浮动/ clear: both 注意: 要求这个新的空标签必须是块级元素 阅读全文
posted @ 2021-09-16 10:32 ouhongxiu 阅读(36) 评论(0) 推荐(0) 编辑
摘要: activeIndex为字符串 :active="activeIndex - 0" 阅读全文
posted @ 2021-09-01 15:22 ouhongxiu 阅读(29) 评论(0) 推荐(0) 编辑
摘要: //验证手机的规则 const checkMobile = (rule, value, cb) ⇒ { let reg = /^(0|86|17951)?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/ if (reg.test(val 阅读全文
posted @ 2021-07-28 14:05 ouhongxiu 阅读(169) 评论(0) 推荐(0) 编辑