Open punkisnotdead3 opened 4 years ago
when i use vuex in weex, i find bug:
1. store.commit('changeDialogA', true); i am sure store.state.dialogA is aleady true
but computed can not get the store value changed:
computed: { getDialogAStatus() { console.log(adadadad store.state.dialogA ${store.state.dialogA}); return store.state.dialogA; }, },
adadadad store.state.dialogA ${store.state.dialogA}
means when store.state.dialogA changed computed can not get notify
when i use vuex in weex, i find bug:
1. store.commit('changeDialogA', true); i am sure store.state.dialogA is aleady true
but computed can not get the store value changed:
computed: { getDialogAStatus() { console.log(
adadadad store.state.dialogA ${store.state.dialogA}
); return store.state.dialogA; }, },means when store.state.dialogA changed computed can not get notify