-
- {!loading && (
- {
- if (Array.isArray(newSelection) && newSelection.length > 0) {
- setSelection(newSelection)
- }
- }}
- isNodeBlock={{
- defaultPadingLeft: 1,
- indent: 1,
- }}
- style={{ lineHeight: '26px' }}
- >
- {menu.map((item, index) => (
-
- ))}
-
-
- {IconLink}
- 低代码引擎技术文档
- >
- )}
- onClick={() => {
- window.open('https://lowcode-engine.cn/doc')
- }}
- />
-
- {IconLink}
- engine
-
- {getVerionOf('ali-lowcode/ali-lowcode-engine') ?? (window as any).AliLowCodeEngine.version ?? '-'}
-
- >
- )}
- onClick={() => {
- window.open('https://lowcode-engine.cn/doc?url=engine-changelog')
- }}
- />
-
- {IconLink}
- ext
-
- {getVerionOf('ali-lowcode/lowcode-engine-ext') ?? (window as any).AliLowCodeEngineExt.version ?? '-'}
-
- >
- )}
- onClick={() => {
- window.open('https://lowcode-engine.cn/doc?url=engine-ext-changelog')
- }}
- />
-
- {IconBug}
- 提交 bug
- >
- )}
- onClick={() => {
- const assets = material.getAssets()
- const message = `## 复现截图
-
-## 复现流程与链接
-
-## 期望结果
-
-## 环境信息
-
-- 引擎版本 ${getVerionOf('ali-lowcode/ali-lowcode-engine') ?? (window as any).AliLowCodeEngine.version ?? '-'}
-- ext 版本 ${getVerionOf('ali-lowcode/lowcode-engine-ext') ?? (window as any).AliLowCodeEngineExt.version ?? '-'}
-- 物料
-${assets.packages
- .filter((item: any) => !!item.package)
- .map((item: any) => (` - ${item.package}${item.version ? '@' + item.version : ''}`.replace(/@/g, '﹫')))
- .join('\n')
-}`
- window.open(`https://github.com/alibaba/lowcode-engine/issues/new?body=${
- encodeURIComponent(message)
- }`)
- }}
- />
-
-
- )}
-
- {menu[+selection[0]]?.url && (
-
- )}
-
-