mirror of
https://github.com/motajs/template.git
synced 2026-11-04 16:24:38 +08:00
feat(04-14): 部分 UI 进一步接口适配·第二步(D-74..D-78)
D-78: main.tsx 状态栏更新改为在 client.hero.attribute 上 addHook({ onUpdateAttribute }) 并在 onUnmounted 注销;移除全局 hook 残留与手工调用垫片。
D-74/D-75: load.tsx 改依新加载系统 client.loader.start() + client.loader.manager.get*;移除旧接口成员与失效 @ts-expect-error。
D-76/D-77: 删除 render/index.tsx 的 restart 注释块、client.ts 两段兼容层注释、entry-client/src/create.ts 被注释接线与模块创建函数块。
仅含五个生产文件与 04-14-SUMMARY.md;未触用户 04-CONTEXT.md 并发改动。
This commit is contained in:
1 parent
cab6fe2e5a
commit
bc7d631dc2
6 files changed
+227
-53
No files matched your search
@@ -13,8 +13,6 @@ import * as Vue from 'vue';
|
||||
import * as Lodash from 'lodash-es';
|
||||
|
||||
export function create() {
|
||||
// loading.once('registered', createModule);
|
||||
|
||||
Mota.register('@motajs/client', Client);
|
||||
Mota.register('@motajs/client-base', ClientBase);
|
||||
Mota.register('@motajs/legacy-system', LegacySystem);
|
||||
@@ -27,15 +25,4 @@ export function create() {
|
||||
Mota.register('MutateAnimate', MutateAnimate);
|
||||
Mota.register('Vue', Vue);
|
||||
Mota.register('Lodash', Lodash);
|
||||
|
||||
// loading.emit('clientRegistered');
|
||||
}
|
||||
|
||||
// async function createModule() {
|
||||
// ClientModules.create();
|
||||
// LegacyUI.create();
|
||||
|
||||
// await import('ant-design-vue/dist/antd.dark.css');
|
||||
// main.renderLoaded = true;
|
||||
// hook.emit('renderLoaded');
|
||||
// }
|
||||
Reference in new issue
Block a user