-
由 Andrew Fontaine 创作于
This Promise is always resolved, as there's no use-case currently for a rejected one. Room for further refactoring. According to the documentation for Vuex v3.x[0], `dispatch` _always_ returns a Promise. It follows the following type declaration: dispatch(type: string, payload?: any, options?: Object): Promise<any> dispatch(action: Object, options?: Object): Promise<any> 0: https://v3.vuex.vuejs.org/api/#dispatch
由 Andrew Fontaine 创作于This Promise is always resolved, as there's no use-case currently for a rejected one. Room for further refactoring. According to the documentation for Vuex v3.x[0], `dispatch` _always_ returns a Promise. It follows the following type declaration: dispatch(type: string, payload?: any, options?: Object): Promise<any> dispatch(action: Object, options?: Object): Promise<any> 0: https://v3.vuex.vuejs.org/api/#dispatch
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。