revert dispatch query in model/app.js

This commit is contained in:
Baorong Li
2019-06-24 15:40:44 +08:00
parent f7d6e2b4ed
commit d0a56169e3
+3
View File
@@ -39,6 +39,9 @@ export default {
],
},
subscriptions: {
setup({ dispatch }) {
dispatch({ type: 'query' })
},
setupHistory({ dispatch, history }) {
history.listen(location => {
dispatch({