HiKwang
HiKwang
请问`store.js`中的这段代码,为什么`mutation`是用`dispatch`在提交呢? `dispatch`不是用来分发`action`的吗?`commit`才是用来提交`mutation`的啊。 ```js // store.js export const actions = { initData: ({ dispatch }) => dispatch('INIT_DATA'), sendMessage: ({ dispatch }, content) => dispatch('SEND_MESSAGE', content), selectSession: ({ dispatch }, id) =>...
[*🤔 *]->:2017/08/01 12:57:02 启动... [window.QRLogin.code = 200; window.QRLogin.uuid = "gbthXm024A==" 200 gbthXm024A==][*🤔 *]->:2017/08/01 12:57:56 请提供配置文件:config.json ============================================== 请问config.json在哪里配置啊?