mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
perf: 优化微应用参数变量的支持
This commit is contained in:
parent
09f5cca948
commit
e5d9140aa0
@ -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
|
||||
|
||||
7
resources/assets/js/store/actions.js
vendored
7
resources/assets/js/store/actions.js
vendored
@ -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);
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user