Browse Source

vuex记录

kindring 3 years ago
parent
commit
dfd63c3322
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vue/vuex_使用.md

+ 2 - 2
vue/vuex_使用.md

@@ -8,7 +8,7 @@
     
     在一个专门的地方来存储数据,类似于仓库的存在,也可以视作一个快递中转站.统一管理数据,好知道一些数据到了什么地方,你的包裹到了什么地方
   </details>
-## 2. 老子懂了
+## 2. **老子懂了**
 
 ## 3. 实战演练
 > 自己在项目中如何使用vuex 项目参照antdv的antdpro项目
@@ -44,7 +44,7 @@
         import stateStore from './modules/state'
         // 继续导入其他模块
 
-        //vue 使用vuex
+        //在vue中启用Vuex,重要
         Vue.use(Vuex);
 
         export default new Vuex.store({