Open dr2009 opened 8 years ago
本来没有啥问题。后来引入vuex后,如何在action触发this.$broadcast('onTopLoaded', id);??
目前做法是action加入promise, 在method中包装action,then触发$broadcast,但是感觉不合理
+1
本来没有啥问题。后来引入vuex后,如何在action触发this.$broadcast('onTopLoaded', id);??
目前做法是action加入promise, 在method中包装action,then触发$broadcast,但是感觉不合理