From e5d9140aa057b4218cfed0b71c6bb7950d7d5a41 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Tue, 3 Jun 2025 21:38:22 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=BE=AE=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=8F=82=E6=95=B0=E5=8F=98=E9=87=8F=E7=9A=84=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 2 +- resources/assets/js/store/actions.js | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 976d043fc..69ee9365a 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -96,7 +96,7 @@ services: appstore: container_name: "dootask-appstore-${APP_ID}" privileged: true - image: "dootask/appstore:0.0.9" + image: "dootask/appstore:0.1.0" volumes: - shared_data:/usr/share/dootask - /var/run/docker.sock:/var/run/docker.sock diff --git a/resources/assets/js/store/actions.js b/resources/assets/js/store/actions.js index 8153a0a2a..e63ba1745 100644 --- a/resources/assets/js/store/actions.js +++ b/resources/assets/js/store/actions.js @@ -4697,7 +4697,12 @@ export default { .replace(/\{user_token}/g, encodeURIComponent(state.userToken)) .replace(/\{system_theme}/g, state.systemConfig.themeName) .replace(/\{system_lang}/g, languageName) - .replace(/\{system_base_url}/g, $A.mainUrl('').replace(/\/$/, '')); + .replace(/\{system_base_url}/g, $A.mainUrl('').replace(/\/$/, '')) + .replace(/\{window_location_(\w+)}/g, (match, property) => { + if (property in window.location) { + return window.location[property]; + } + }); emitter.emit('observeMicroApp:open', config); },