js有些常量加个中括号括起来表示什么意思?比如下面的代码:
export default { [RECEIVE_ADDRESS] (state, {address}) { state.address = address } }
蝴蝶不菲
相关分类