mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 03:01:12 +00:00
perf: 优化应用商城
This commit is contained in:
parent
d25c26156d
commit
1ceed3461c
@ -96,7 +96,7 @@ services:
|
|||||||
appstore:
|
appstore:
|
||||||
container_name: "dootask-appstore-${APP_ID}"
|
container_name: "dootask-appstore-${APP_ID}"
|
||||||
privileged: true
|
privileged: true
|
||||||
image: "dootask/appstore:0.1.6"
|
image: "dootask/appstore:0.1.7"
|
||||||
volumes:
|
volumes:
|
||||||
- shared_data:/usr/share/dootask
|
- shared_data:/usr/share/dootask
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|||||||
@ -85,6 +85,10 @@ export default {
|
|||||||
}
|
}
|
||||||
const {type, message} = e.data;
|
const {type, message} = e.data;
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
case 'MICRO_APP_READY':
|
||||||
|
this.injectMicroApp()
|
||||||
|
break
|
||||||
|
|
||||||
case 'MICRO_APP_METHOD':
|
case 'MICRO_APP_METHOD':
|
||||||
if (!this.data || !this.data.methods) {
|
if (!this.data || !this.data.methods) {
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user