import * as types from './mutation-types'const mutations={ [types.num]//mutation-types取/mutation-types里的值,为什么需要用[],直接types.num不可以吗? } 查看完整描述