上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: 引入 安装依赖 npm install echarts 全局挂载 // main.js import * as Echarts from "echarts" Vue.prototype.echarts = Echarts; Vue.use(Echarts); // 注册插件 配置 公共部分 调整横纵 阅读全文
posted @ 2022-08-18 15:27 拉布拉多~ 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 命令 1. 启动:start nginx 2. 重启: nginx.exe -s reload 3. 关闭:nginx.exe -s stop 4. 杀进程(先查后杀) 方法一: - 先查:ps -ef|grep nginx - 后杀:kill -HUP 端口号 - 图片说明:![例子](https 阅读全文
posted @ 2022-08-11 10:12 拉布拉多~ 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 全称:Unified Modeling Language(统一建模语言) 阅读全文
posted @ 2022-08-09 14:37 拉布拉多~ 阅读(9) 评论(0) 推荐(0) 编辑
摘要: $eventBus监听无法执行 数组中多层对象的嵌套遍历会导致视图无法更新,vue中的model和view不同步 方法一: this.$forceUpdate() : 方便简单,但未必有效 方法二: 通过v-show 控制显隐来达到刷新的作用:方法简单,但会多一个变量 方法三(推荐): this.$ 阅读全文
posted @ 2022-08-08 10:03 拉布拉多~ 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 初始化 有三种方式: 1. new Object() 补充: 2. Object.create(proto[, propertiesObject]): 使用现有的对象来作为新创建对象的原型 > 参数说明: proto : 新创建对象的原型对象。 值为:null(有优缺点,看官网) 或 除基本类型包装 阅读全文
posted @ 2022-07-20 21:10 拉布拉多~ 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 父级属性 flex-direction: row(默认) | row-reverse | column | column-reverse : 主轴方向 justify-content: flex-start(默认) | flex-end | center | space-around | space 阅读全文
posted @ 2022-07-15 11:29 拉布拉多~ 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 新增的常用标签: 总结: 多媒体:video(视频) audio(音频) 表单控件:calendar date time email url search image 表单新增的标签:datalist (自动完成)、keygen(加密)、output(不同类型的输出) 语义化标签: - header 阅读全文
posted @ 2022-07-14 10:11 拉布拉多~ 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 参考:掘金 例子: KeepAlice.vue(父组件) <template> <section> <keep-alive> <component keyName="name1" :is="componentName"></component> </keep-alive> <component ke 阅读全文
posted @ 2022-07-12 10:13 拉布拉多~ 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 结论: 两者都是sass的编译工具 底层原理、速度等不同 参考: CSDN 官网 社区 阅读全文
posted @ 2022-07-09 09:43 拉布拉多~ 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 有关渲染后变成canvas标签的插件,一定要设置width和height。例如:地图、图表。 阅读全文
posted @ 2022-07-09 00:15 拉布拉多~ 阅读(4) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页