给对象的key 设置成变量

var  temp=`model+${变量}`
save({

  [temp]:Math.randow()

})

原文地址:https://www.cnblogs.com/xiaoyaoweb/p/14275973.html