vuex icon indicating copy to clipboard operation
vuex copied to clipboard

mapState(["key1", {key2 :'key3'})

Open zhangenming opened this issue 3 years ago • 1 comments

.map(key => ({ key, val: key })) .reduce((acc, cur)=> {acc.push({ key: cur, val: cur}); return acc}, []) I'm not aware of the performance issues Is there a relatively big impact(reduce / map)

zhangenming avatar Nov 10 '21 07:11 zhangenming

ormapState(["key1"], {key2 :'key3'}, ...)

zhangenming avatar Nov 10 '21 08:11 zhangenming