From 1a1281bcdd0020e58ba7eaac67eded4afcf032d3 Mon Sep 17 00:00:00 2001 From: ZLY Date: Sun, 4 Jan 2026 21:00:57 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=87=8D=E6=9E=84=E5=BE=AE?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E9=9B=86=E6=88=90=E5=92=8C=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 6 +- .../data/views/marking/task-canvas.vue | 52 ++++---- .../data/views/marking/task-create.vue | 2 +- .../data/views/marking/task-samples.vue | 124 ++++++++++-------- .../data/views/process/common/flow/index.vue | 98 +++----------- src/micro-app/data/views/process/index.vue | 1 + 6 files changed, 121 insertions(+), 162 deletions(-) diff --git a/src/main.ts b/src/main.ts index a6d14ec..0c7fb0f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -9,10 +9,8 @@ import './style.css' // 初始化 micro-app microApp.start({ - 'disable-sandbox': true, - 'disable-scopecss': true, - // 启用虚拟路由系统,隔离子应用路由 - // 这样子应用的 React Router 不会受到基座 hash 路由的影响 + // 'disable-sandbox': true, + // 'disable-scopecss': true, }) const app = createApp(App) diff --git a/src/micro-app/data/views/marking/task-canvas.vue b/src/micro-app/data/views/marking/task-canvas.vue index 2c0214e..1c38293 100644 --- a/src/micro-app/data/views/marking/task-canvas.vue +++ b/src/micro-app/data/views/marking/task-canvas.vue @@ -1,14 +1,14 @@ diff --git a/src/micro-app/data/views/process/index.vue b/src/micro-app/data/views/process/index.vue index 440cde9..784ed2f 100644 --- a/src/micro-app/data/views/process/index.vue +++ b/src/micro-app/data/views/process/index.vue @@ -56,6 +56,7 @@ } .process-content { + position: relative; flex: 1; overflow: auto; padding: 16px;