English
hasChange
About 50 wordsLess than 1 minute
2025-12-15
bizApi.hasChange()
Determines whether data has changed during plugin execution. This function is rarely needed in business logic.
Parameters
None
Return Value
None
Basic Example
export default class Plugin {
apply() {
return [{
event: 'form.render.after',
functional: this.formRendereAfter.bind(this)
}]
}
formRendereAfter(context, plugin) {
const isChange = context.bizApi.hasChange();
console.log(isChange);
}
}