浏览代码

chore: format

Evan You 6 年之前
父节点
当前提交
e1fd222ec4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/store.js

+ 2 - 2
src/store.js

@@ -147,8 +147,8 @@ export class Store {
     return result.then(res => {
       try {
         this._actionSubscribers
-        .filter(sub => sub.after)
-        .forEach(sub => sub.after(action, this.state))
+          .filter(sub => sub.after)
+          .forEach(sub => sub.after(action, this.state))
       } catch (e) {
         if (process.env.NODE_ENV !== 'production') {
           console.warn(`[vuex] error in after action subscribers: `)