ThinkSSL🔒 一键申购 5分钟快速签发 30天无理由退款 购买更放心 广告
## 相关API | 成员 | 说明 | 类型 |示例| |-------------|----------------|--------------------|--| | config| 配置函数(默认值、公共配置) | function | | | gf | 获取state中某个字段值,参数为(fieldPath),如data.form.user | function | this.metaAction.gf('data.title')| | sf | 设置state中某个字段值,参数为(fieldPath,value) | function |this.metaAction.sf('data.title','hello')| | gm | 获取元数据,参数为(path,propertys), path:如root.form.user, propertys:如['style'] | function|this.metaAction.gm('root.form.list1,'title')| | sm | 设置元数据,参数为(path,propertys,value), path:如root.form.user, propertys:如['style','color:@primaryColor'] | function |this.metaAction.sm('root.form.list1,'title','hello')| | context | 上下文object,设置后所有app可以获取context中的信息 | object | this.metaAction.context.get("currentOrg")| 注:sf会进行state的内部比较,每次的sf都会重新渲染页面。如果涉及到批量sf时,统一使用sfs进行替换。