File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ import commonI18n, { ice_i18n } from "@/mixins/base/common-i18n";
143
143
import FileSaver from " file-saver" ;
144
144
import { MIRCO_APP_ACTION_ENUM } from " @/const" ;
145
145
import { vOnClickOutside } from " @vueuse/components" ;
146
-
147
146
export default {
148
147
name: " app-card" ,
149
148
components: {
@@ -351,6 +350,7 @@ export default {
351
350
},
352
351
353
352
openSystemApps (item ) {
353
+ const bus = window .$wujie .bus ;
354
354
switch (item .name ) {
355
355
case " App Store" :
356
356
this .openAppStore ();
@@ -360,12 +360,24 @@ export default {
360
360
action: " open" ,
361
361
name: " icewhale_settings" ,
362
362
});
363
+ if (bus){
364
+ bus .$emit (" mircoapp_communicate" , {
365
+ action: " open" ,
366
+ name: " icewhale_settings" ,
367
+ });
368
+ }
363
369
break ;
364
370
case " Backup" :
365
371
this .$messageBus (" mircoapp_communicate" , {
366
372
action: " open" ,
367
373
name: " icewhale_backup" ,
368
374
});
375
+ if (bus){
376
+ bus .$emit (" mircoapp_communicate" , {
377
+ action: " open" ,
378
+ name: " icewhale_backup" ,
379
+ });
380
+ }
369
381
break ;
370
382
default :
371
383
break ;
You can’t perform that action at this time.
0 commit comments