// mutation-types.jsexport const SOME_MUTATION = 'SOME_MUTATION'export const SOME_MUTATION_1 = 'SOME_MUTATION_1'我要import引入mutation-types.js,怎么写比较好?
1 回答
MM们
TA贡献1886条经验 获得超2个赞
import * as types from 'mutation-types.js'
// types.SOME_MUTATION types.SOME_MUTATION_1
添加回答
举报
0/150
提交
取消