跨对象公式中全局$user变更目前只有space_users数据,扩展下把userSession也加进去
Created by: yinlianghui
- 扩展方式:
Object.assign({}, spaceUsers, userSession);
,即有同名属性时,userSession中的内容优先 - 相关文档也要改下:https://developer.steedos.com/help/formula/tip#%E5%85%B3%E4%BA%8E%E8%B7%A8%E5%AF%B9%E8%B1%A1%E5%85%AC%E5%BC%8F%E7%9A%84%E6%8F%90%E7%A4%BA