Comparing version 0.1.3 to 0.2.0
{ | ||
"name": "easy-vuex", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"description": "适用于小型Vue应用的数据管理。可以全局共享部分数据和方法,既不需要像Vuex那样额外写一些mutation,又不需要采用Vue传统的props/events来通讯。", | ||
@@ -5,0 +5,0 @@ "keywords": "vue vuex data-management", |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
module.exports = { | ||
@@ -9,3 +11,3 @@ install: function (v, _store) { | ||
}); | ||
var actions = _store.actions; | ||
var actions = store.$actions = _store.actions; | ||
if (actions) { | ||
@@ -12,0 +14,0 @@ for (var i in actions) { |
2469
36