feat(web): apply Lingniu brand assets
This commit is contained in:
@@ -4,7 +4,7 @@ import indexSource from '../../index.html?raw';
|
||||
const bootScript = indexSource.match(/<script>\s*([\s\S]*?vehicle-platform:ready[\s\S]*?)<\/script>/)?.[1];
|
||||
|
||||
function mountBootShell() {
|
||||
document.body.innerHTML = '<div id="root"><div id="platform-boot" role="status"><div><span class="platform-boot-mark">车</span><strong>车辆数据中台</strong><small>正在加载工作台…</small></div></div></div>';
|
||||
document.body.innerHTML = '<div id="root"><div id="platform-boot" role="status"><div><img class="platform-boot-logo" src="/brand-logo.svg" alt="灵牛智能"><strong>车辆数据中台</strong><small>正在加载工作台…</small></div></div></div>';
|
||||
expect(bootScript).toBeTruthy();
|
||||
Function(bootScript!)();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user