/**
* 平台组件统一推送方法
* @param {*} that 组件当前对象
* @param {*} itemV 变更的值
* @param {*} callback 推送方法
*/
// eslint-disable-next-line no-unused-vars
emitComp(that, itemV, callback = (code, res) => { }) {
//#region 当前值
const did = `${that.rootMeta.mkey}`;
window.$dbeventer.emit(did, {
formCompTag: that.$attrs['form-comp-tag'],
primaryId: that.$attrs['primary-id'],
changeValue: itemV,
parentItem: that.parentItem,
currentItem: that.item
}, callback);
//#endregion 当前值
}
文档更新时间: 2022-11-05 16:06 作者:admin