![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Vue
ssqsssq
这个作者很懒,什么都没留下…
展开
-
Vue学习(10)生命周期
<!-- * @Author: your name * @Date: 2020-04-02 17:20:30 * @LastEditTime: 2020-04-02 18:44:27 * @LastEditors: Please set LastEditors * @Description: 组件的生命周期 * @FilePath: \x\13.html --><...原创 2020-04-02 18:54:57 · 203 阅读 · 0 评论 -
Vue学习(9)计算属性
computed 实时监听<!-- * @Author: your name * @Date: 2020-04-01 17:20:57 * @LastEditTime: 2020-04-01 19:38:33 * @LastEditors: Please set LastEditors * @Description: 计算属性 * @FilePath: \x\12.html ...原创 2020-04-01 19:40:48 · 198 阅读 · 0 评论 -
Vue学习(8)监视器
watch简单监视 单个属性 简单数据结构深度监视 复杂属性 复杂数据结构<!-- * @Author: your name * @Date: 2020-04-01 16:50:28 * @LastEditTime: 2020-04-01 17:11:06 * @LastEditors: Please set LastEditors * @Description: 监听(内存...原创 2020-04-01 17:14:24 · 298 阅读 · 0 评论 -
Vue学习(7)过滤器
全局过滤器 + 局部过滤器<!-- * @Author: your name * @Date: 2020-04-01 16:31:40 * @LastEditTime: 2020-04-01 16:47:51 * @LastEditors: Please set LastEditors * @Description: 过滤器 * @FilePath: \x\10.html -...原创 2020-04-01 16:49:54 · 190 阅读 · 0 评论 -
Vue学习(6)插槽
slot 插槽<!-- * @Author: your name * @Date: 2020-04-01 14:15:10 * @LastEditTime: 2020-04-01 14:32:29 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \...原创 2020-04-01 16:31:19 · 345 阅读 · 0 评论 -
Vue学习(5)父子组件的简单通信
简单通信父—>子1.父组件绑定自定义属性2.子组件props接收3.子组件任意使用子—>父1.父组件绑定自定义方法2.子组件 $emit(‘事件名’, value) 触发3.传入父组件<!-- * @Author: your name * @Date: 2020-03-31 19:50:40 * @LastEditTime: 2020-03-31 20...原创 2020-03-31 20:21:51 · 167 阅读 · 0 评论 -
Vue学习(4)局部组件
<!-- * @Author: your name * @Date: 2020-03-30 21:56:55 * @LastEditTime: 2020-03-30 22:28:13 * @LastEditors: Please set LastEditors * @Description: 组件 * @FilePath: \x\04.html--><!DOCTY...原创 2020-03-30 22:30:23 · 157 阅读 · 0 评论 -
Vue学习(3)双向数据绑定
Data --> View --> Data2 --> View2<!-- * @Author: your name * @Date: 2020-03-30 21:33:46 * @LastEditTime: 2020-03-30 21:54:16 * @LastEditors: Please set LastEditors * @Description: Vu...原创 2020-03-30 21:56:30 · 185 阅读 · 0 评论 -
Vue学习(2)指令
<!-- * @Author: your name * @Date: 2020-02-01 11:19:29 * @LastEditTime: 2020-03-30 21:32:11 * @LastEditors: Please set LastEditors * @Description: In User Settings Edit * @FilePath: \x\vue-or...原创 2020-03-30 21:46:33 · 234 阅读 · 0 评论 -
Vue学习(1)创建
安装npm install vue引用<script type="text/javascript" src="./node_modules/vue/dist/vue.js"></script>新建vue对象var x = new Vue({ el: '#app', data: { ...转载 2020-03-30 14:30:26 · 174 阅读 · 0 评论