摘要: 在iOS系统的移动设备中, 需要在按钮元素或者body/html上绑定一个touchstart 事件才能激活 :active状态; 如果要让css的 :active样式生效, 给body标签添加 ontouchstart = " " onmouseover = " ", 如果是vue ,写成 @to 阅读全文
posted @ 2020-06-24 10:44 凌妖 阅读(576) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_42783610/article/details/104214723 阅读全文
posted @ 2020-06-18 09:46 凌妖 阅读(525) 评论(0) 推荐(0)
摘要: 在router.js的配置文件中 添加如下代码: const originalPush = VueRouter.prototype.pushVueRouter.prototype.push = function push(location) { return originalPush.call(th 阅读全文
posted @ 2020-06-15 16:49 凌妖 阅读(606) 评论(0) 推荐(0)
摘要: npm config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g 阅读全文
posted @ 2020-06-05 21:13 凌妖 阅读(2188) 评论(0) 推荐(0)
摘要: 如上图, node-sass安装错误 解决方法: 管理员模式下, 在命令行窗口输入 :npm install --global --production windows-build-tools 全局安装windows构建工具,然后删除原来已下载的node_modules再重新下载依赖 阅读全文
posted @ 2020-06-05 21:06 凌妖 阅读(1141) 评论(0) 推荐(0)