From 9bb0340677300d266fa40c64813456dab48fc7d9 Mon Sep 17 00:00:00 2001 From: skyboy Date: Mon, 21 Oct 2024 16:06:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E9=94=99=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/system/index.ts | 4 ++-- frontend/src/system/menu/Tary.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/system/index.ts b/frontend/src/system/index.ts index 682e0b9..61977d0 100644 --- a/frontend/src/system/index.ts +++ b/frontend/src/system/index.ts @@ -311,8 +311,8 @@ export class System { ); } if (typeof options.window.content !== 'string') { - //console.log('提交') - options.window.content = markRaw(options.window.content); + console.log('index.ts:', options.window.content) + //options.window.content = markRaw(options.window.content); } // console.log(options.window) // console.log(options.name) diff --git a/frontend/src/system/menu/Tary.ts b/frontend/src/system/menu/Tary.ts index 41a1160..c570bf0 100644 --- a/frontend/src/system/menu/Tary.ts +++ b/frontend/src/system/menu/Tary.ts @@ -18,7 +18,8 @@ export class Tray { if (typeof options.image === 'string') { this.image = options.image; } else { - this.image = markRaw(options.image); + //this.image = markRaw(options.image); + console.log('tary.ts:', options.image) } if (typeof options.component === 'string') { this.component = options.component;