示例代码

```javascript
const rightBoxData = {
  appId: ebdFormSdk.getBaseInfo().appId, // 应用ID
  dataid: ebdFormSdk.getBaseInfo().dataid, // 数据ID
  objid: ebdFormSdk.getObjId(),
  formDataId: ebdFormSdk.getBaseFormID(), // 底层表单ID
  requestId: '', // 流程ID
  isShowLog: '0', // 是否显示日志，字符串'1'为显示展示日志
  isShowComment: '1', // 是否显示评论，字符串'1'为显示展示评论
  actionId: '', // 按钮动作id
  winSizeNew: '60%', // 打开的窗口宽度
};
const linkInfo = {
  openMode: '7', // 打开方式,右侧推出
  page: {
    // 传给 CorsComponent 传回给CommentView的参数
    pageId: '1',
    appid: rightBoxData.appId,
    pageType: 'CUSTOM',
    customParams: {
      app: '@weapp/ebdfpage',
      compName: 'EbCommentView',
      client: 'PC',
      appId: rightBoxData.appId,
      subfieldParams: {
        id: rightBoxData.dataid,
        dataid: rightBoxData.dataid,
        formDataId: rightBoxData.formDataId,
        requestId: rightBoxData.requestId,
        isShowLog: rightBoxData?.isShowLog,
        isShowComment: rightBoxData?.isShowComment,
        actionId: rightBoxData?.actionId,
        isFlow: !!rightBoxData.requestId,
        isFlexHeight: true,
      },
    },
  },
  winSize: '60%',
  winSizeNew: rightBoxData?.winSizeNew,
  isRelationCustomPage: false,
  layoutType: 'main',
};
const routerProps = {
  history: {
    ...window.history,
    location: window.location,
    push: () => {},
  }, // 使用window，拼接了假的React路由
  location: window.location,
  match: {
    url: window.location.pathname,
    params: {},
  },
  clientType: 'PC',
  // compId: opts?.compId,
  ...window.__ebpage_history__,
};
weappUtils.corsImport('@weapp/ebdcoms').then((lib) => {
  const { JumpLink } = lib;
  JumpLink(linkInfo, routerProps);
});
```

  
评论组件和属性，可使用CorsComponent调用

```javascript
app: '@weapp/ebdfpage',
compName: 'EbCommentView',
      client: 'PC',
      appId: rightBoxData.appId,
      subfieldParams: {
        id: rightBoxData.dataid,
        dataid: rightBoxData.dataid,
        formDataId: rightBoxData.formDataId,
        requestId: rightBoxData.requestId,
        isShowLog: rightBoxData?.isShowLog,
        isShowComment: rightBoxData?.isShowComment,
        actionId: rightBoxData?.actionId,
        isFlow: !!rightBoxData.requestId,
        isFlexHeight: true,
      },
```
