//#region 订阅存储表单数据
      handleDbSub() {
        let that = this;
        const did = `${that.meta.mkey}`;
        window.$dbeventer.on(did, (code, res) => {
          if (!res.fromCompTag && !res.changeValue && !res.currentItem&& !res.primaryId) {
            console.log("bo-table传递的值必须包含fromCompTag、data、currentItem、primaryId");
            return;
          }
          if(res.primaryId.length===0&&that.config.primaryId){
            res.primaryId=that.config.primaryId;
          }
          res.primaryData=that.primaryData;
          console.log('订阅code', code);
          console.log('订阅res', res);
        }
        );
      },
      //#endregion 订阅存储表单数据   
文档更新时间: 2022-11-05 16:06   作者:admin