摘要: 1.父组件 2.子组件 3.没有全等,结果: 4.如果是全等情况: 结果: 总结:使用element下拉选中传入值,就必须注意 值全等 阅读全文
posted @ 2019-12-04 00:51 轻风细雨_林木木 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 参考资料:https://www.cnblogs.com/yelongsan/p/10244037.html 阅读全文
posted @ 2019-12-03 15:46 轻风细雨_林木木 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 官方文档:https://code.visualstudio.com/docs/editor/debugging#_launch-configurations 使用办法:进入vscode,进入调试,设置路由接口统一webpack接口 阅读全文
posted @ 2019-11-28 11:02 轻风细雨_林木木 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 如图: 如果需要改成和下面一样的在同一行,只需要添加 label-width="100px"(标题宽度) 阅读全文
posted @ 2019-11-26 08:07 轻风细雨_林木木 阅读(6977) 评论(0) 推荐(0) 编辑
摘要: 参考阮一峰资料:http://jsrun.pro/tutorial/cZKKp 阅读全文
posted @ 2019-11-25 00:08 轻风细雨_林木木 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 一、使用淘宝镜像源 使用命令安装:npm install -g cnpm --registry=https://registry.npm.taobao.org 检测:cnpm -v 二、添加vue的脚手架工具 cnpm install -g 三、自动打开浏览器 config-》index.js-》设 阅读全文
posted @ 2019-11-25 00:03 轻风细雨_林木木 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 一、js方式: 、参考:https://www.cnblogs.com/dannyxie/p/6640903.html 二、vue中使用px2rem 安装: npm install --save-dev px2rem-loader 阅读全文
posted @ 2019-11-25 00:02 轻风细雨_林木木 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 颜色预览表: 阅读全文
posted @ 2019-11-21 10:41 轻风细雨_林木木 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/fangshidaima/p/7206137.html vue 中 export、export default、import的具体区别 在ES6中,export与export default均可用于导出常量、函数、文件、模块等,你可以在其它文件或 阅读全文
posted @ 2019-11-21 10:33 轻风细雨_林木木 阅读(11281) 评论(0) 推荐(0) 编辑
摘要: 一、本地(一般调用有三种办法) <script> //方法1.直接将图片引入为模块 require imgUrl from "../assets/test.png" //方法2.将imgUrl放在数据里 data(){ return { imgUrl:require("../assets/test. 阅读全文
posted @ 2019-10-31 15:50 轻风细雨_林木木 阅读(11024) 评论(0) 推荐(1) 编辑