import * as types from './mutation-types'const mutations={ [types.num]//mutation-types取/mutation-types里的值,為什么需要用[],直接types.num不可以嗎? }
關(guān)于es6語法問題。
尚方寶劍之說
2019-02-26 15:26:00