摘要: 4.29 手写 vuex let Vue class Store{ constructor(options){ // step1 step1注册$store后让页面能正常显示state // this.state = options.state // step2实现mutations actions 阅读全文
posted @ 2021-04-30 11:43 心中有一海 阅读(78) 评论(0) 推荐(0) 编辑