09 2021 档案

摘要:添加多选列: el-table的添加属性:@select-all="handleSelectAll" ; @selection-change="handleSelectionChange" 特殊行禁选: <el-table-column :selectable="checkboxSelect" ty 阅读全文
posted @ 2021-09-27 17:26 阿兰儿 阅读(959) 评论(0) 推荐(0)
摘要:遇到js代码,浏览器将其传递给javascript引擎,并且要求它去执行。 setTimeout是浏览器引擎的API,产生宏任务;Promise产生的是js引擎内部的微任务。 阅读全文
posted @ 2021-09-26 15:23 阿兰儿 阅读(43) 评论(0) 推荐(0)
摘要:每个对象都有一个__proto__属性,并且指向它的prototype原型对象 每个构造函数都有一个prototype原型对象 prototype原型对象里的constructor指向构造函数本身 示例1 class Person { constructor(options) { this.name 阅读全文
posted @ 2021-09-24 19:50 阿兰儿 阅读(109) 评论(0) 推荐(0)
摘要:Vue Vue中最重要的就是数据驱动和组件化,每个组件都有自己的data,template,methods。 Vuex 进行状态管理,负责组件中的通信。 多个视图依赖同一状态; 来自不同视图的行为需要变更同一状态; Vue的插件; 插件一般用来给Vue添加全局功能。 使用插件 Vue.use(myP 阅读全文
posted @ 2021-09-24 19:48 阿兰儿 阅读(96) 评论(0) 推荐(0)
摘要:对图片进行压缩,选无损极速,覆盖源 阅读全文
posted @ 2021-09-14 16:35 阿兰儿 阅读(24) 评论(0) 推荐(0)
摘要:安装swiper版本4.0.5版本后 npm install swiper@4.0.5 --save 引入方法 import Swiper from 'swiper'; import 'swiper/dist/css/swiper.css'; 使用 new Swiper('#certify .swi 阅读全文
posted @ 2021-09-14 13:06 阿兰儿 阅读(1348) 评论(0) 推荐(1)
摘要:px转rem单位。 可配合媒体查询自适应屏幕。 阅读全文
posted @ 2021-09-08 14:50 阿兰儿 阅读(85) 评论(0) 推荐(0)