05 2021 档案

677 vue3组件化开发初体验:组件的名称,全局组件,局部组件
摘要:认识组件化开发 组件化开发 Vue的组件化 注册组件的方式 注册全局组件 全局组件的逻辑 组件的名称 注册局部组件 布局组件注册代码 02_注册全局组件.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <me 阅读全文

posted @ 2021-05-23 16:20 冲啊! 阅读(230) 评论(0) 推荐(0)

676 vue3 v-model:原理,绑定input、textarea、checkbox、radio、select,修饰符lazy、number、trim
摘要:v-model的基本使用 v-model的原理 事实上v-model 01_v-model的基本使用.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatib 阅读全文

posted @ 2021-05-22 21:00 冲啊! 阅读(934) 评论(0) 推荐(0)

675 对象的引用-浅拷贝-深拷贝
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文

posted @ 2021-05-22 13:45 冲啊! 阅读(54) 评论(0) 推荐(0)

674 vue3侦听器watch
摘要:认识侦听器watch 侦听器案例 01_侦听器的基本使用.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> 阅读全文

posted @ 2021-05-21 15:25 冲啊! 阅读(136) 评论(0) 推荐(0)

673 vue计算属性:缓存,setter和getter
摘要:复杂data的处理方式 认识计算属性computed 案例实现思路 实现思路一:模板语法 实现思路二:method实现 思路三的实现:computed实现 计算属性 vs methods 计算属性的缓存 计算属性的setter和getter 源码如何对setter和getter处理 01_三个案例的 阅读全文

posted @ 2021-05-19 12:07 冲啊! 阅读(117) 评论(0) 推荐(0)

672 vue列表渲染:v-for支持的类型,template元素,数组更新检测,v-for中的key,VNode
摘要:列表渲染 v-for基本使用 v-for支持的类型 01_v-for的基本使用.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content 阅读全文

posted @ 2021-05-19 11:10 冲啊! 阅读(220) 评论(0) 推荐(0)

671 vue条件渲染
摘要:条件渲染 v-if、v-else、v-else-if template元素 v-show v-show和v-if的区别 01_条件渲染的基本使用.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta htt 阅读全文

posted @ 2021-05-18 10:50 冲啊! 阅读(39) 评论(0) 推荐(0)

670 前端破局
该文被密码保护。

posted @ 2021-05-17 13:00 冲啊! 阅读(0) 评论(0) 推荐(0)

669 v-on:绑定多个事件,参数传递,修饰符
摘要:v-on绑定事件 v-on的用法 v-on的基本使用 v-on参数传递 v-on的修饰符 08_v-on的基本使用.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-C 阅读全文

posted @ 2021-05-16 19:40 冲啊! 阅读(872) 评论(0) 推荐(0)

668 v-bind:绑定基本属性,绑定class,绑定style,动态绑定属性,绑定一个对象
摘要:v-bind的绑定属性 绑定基本属性 01_v-bind的基本使用.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=e 阅读全文

posted @ 2021-05-16 17:05 冲啊! 阅读(209) 评论(0) 推荐(0)

667 Vue模板语法:Mustache,基本指令
摘要:methods方法绑定this 问题一:不能使用箭头函数? https://mp.weixin.qq.com/s/hYm0JgBI25grNG_2sCRlTA; 问题二:this到底指向什么? 事实上Vue的源码当中就是对methods中的所有函数进行了遍历,并且通过bind绑定了this: VSC 阅读全文

posted @ 2021-05-15 16:27 冲啊! 阅读(212) 评论(0) 推荐(0)

666 vue3初体验,调试Vue的源码
摘要:学习vue2还是vue3? 目前需要学习Vue3吗? Vue3带来的变化(源码) Vue3带来的变化(性能) 补充:Vue 的响应式原理中 Object.defineProperty 有什么缺陷?为什么在 Vue3.0 采用了 Proxy,抛弃了 Object.defineProperty? 1、O 阅读全文

posted @ 2021-05-13 15:25 冲啊! 阅读(398) 评论(0) 推荐(0)

导航