Vanessa 2025-10-24 17:12:34 +08:00
parent 918f679a31
commit 7eb6bcd59e
3 changed files with 27 additions and 15 deletions

View file

@ -723,6 +723,7 @@ export const resizeTopBar = () => {
});
};
// TODO: 需支持所有页签类型,避免其他类型页签没有使用到而加载
export const newModelByInitData = (app: App, tab: Tab, json: any) => {
let model: Model;
if (json.instance === "Custom") {