Code assignment trigger or data linkage of default options in the form
1. Usage scenarios
Set data linkage in some inbound and outbound scenarios to view the corresponding inventory.
2. Implement functions
2.1. Data Linkage configuration
2.2. Code triggers data linkage
The code is as follows:
export function onChange({value}){
// this.$('需要手动触发数据联动的组件id').getProps().onChange({ value: '触发联动的值' });
this.$('selectField_lbfv9zhd').getProps().onChange({ value });
}
3. Effect
4. Try it online
This doc is generated using machine translation. Any discrepancies or differences created in the translation are not binding and have no legal effect for compliance or enforcement purposes.
本文档对您是否有帮助?