Skip to content

Commit

Permalink
Merge pull request #41 from filow/master
Browse files Browse the repository at this point in the history
fix(okam-core): fix okam redux extension $app.$store.subscribe not existed if $app.$store is function type
  • Loading branch information
wuhy authored May 25, 2019
2 parents 9f460b0 + 28a2652 commit d33f26e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/okam-core/src/extend/data/redux/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import connect from './connect';

function subscribeStoreChange() {
if (this.__storeChangeHandler && !this.__unsubscribeStore) {
this.__unsubscribeStore = this.$app.$store.subscribe(
this.__unsubscribeStore = this.$store.subscribe(
this.$fireStoreChange
);
}
Expand Down

0 comments on commit d33f26e

Please sign in to comment.