Skip to content

Commit 416ae46

Browse files
committed
Merge branch 'main' of https://github.com/ceilf6/Lab
2 parents 290f01b + 9fb93ea commit 416ae46

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,4 @@
6565
- 手动实现观察者模式 => 事件总线 方便组件之间通信、组件和普通模块通信、事件处理 ( Vue 自带 $emit, $on, $off 实例成员,直接导出一个 Vue 实例都可以 ) [link](https://github.com/ceilf6/Lab/commit/965fd30b27e265aa759d8ba2e9794c18114213c9)
6666
- 利用浏览器资源缓存,实现 v-lazy 自定义懒加载图片指令 其中滚轮视图事件通过事件总线管理,抽离出mixin统一上抛事件 [link](https://github.com/ceilf6/Lab/commit/2e70841c9483f1119901e7f9fd9a8093b7517310)
6767
- [通过 vuex 进行共享数据管理 mutations 方法中不允许副作用操作 通过在 actions 中 dispatch 实现副作用操作](https://github.com/ceilf6/Lab/commit/bcadabcdf485eff395a109c814578c9aed4c0ed1)
68+
- [通过 vuex 和 router 管理 登陆、注销 vuex. module 实现模块化 开启命名空间防止命名冲突 开启严格模式后,只允许通过 mutations 改变状态 getters 计算属性 mapState 简化命名空间相关代码 通过 template 逻辑容器处理同级元素](https://github.com/ceilf6/Lab/commit/5c77685db2f57937d161d20ac8152c08558d82a9)

0 commit comments

Comments
 (0)