MCPcopy
hub / github.com/ys1231/MoveCertificate / renderVersionInfo

Function renderVersionInfo

webdev/src/ui-renderer.ts:26–32  ·  view source on GitHub ↗
(containerId: string, lines: string[])

Source from the content-addressed store, hash-verified

24 * 把 module.prop 的内容逐行显示在指定区域
25 */
26export function renderVersionInfo(containerId: string, lines: string[]): void {
27 const el = document.getElementById(containerId);
28 if (!el) return;
29
30 // 用 <br> 把每行文字拼起来,实现换行显示
31 el.innerHTML = lines.join('<br>');
32}
33
34/**
35 * 在页面上显示运行日志

Callers 1

loadCertsTabFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected