init
This commit is contained in:
9
scratch-gui/src/playground/ai.js
Normal file
9
scratch-gui/src/playground/ai.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// ai.html 的 CONFIG 由 head 中的 aiConfig chunk 注入(与 login 同一份 config.js)。
|
||||
|
||||
if (typeof window.__AI_PAGE_BOOTED__ === 'undefined') {
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
if (!window.__AI_PAGE_BOOTED__) {
|
||||
console.warn('[ai.js] 内联 boot 未执行,请检查 ai.html 是否为最新构建');
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user