摘要: // #vue.config.js 完整默认配置 module.exports = { // 基本路径 publicPath: "/", // 输出文件目录 outputDir: "dist", // 用于嵌套生成的静态资产(js,css,img,fonts)的目录。 assetsDir: "", // 以多页模式构建应用程序。 pages: undefined, // eslint-loade... 阅读全文
posted @ 2019-06-18 11:01 一个柯子 阅读(656) 评论(0) 推荐(0) 编辑
摘要: 1、 点击其他input框时 手机键盘不消失问题 document.activeElement // 文档中获得焦点的元素 document.activeElement.blur() // 使获得焦点的元素 失焦 键盘收起 2、 ios加在div上的 click事件不管用,ios中div本身默认不能点击 解决方案在样式中添加属性cursor:pointer; // 建议使用 3、 i... 阅读全文
posted @ 2019-06-18 11:00 一个柯子 阅读(252) 评论(0) 推荐(0) 编辑