Skip to content

Commit 02817f3

Browse files
authored
Fix/release (#141)
1 parent 7698fa5 commit 02817f3

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/components/Apps/AppCard.vue

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ import commonI18n, { ice_i18n } from "@/mixins/base/common-i18n";
143143
import FileSaver from "file-saver";
144144
import { MIRCO_APP_ACTION_ENUM } from "@/const";
145145
import { vOnClickOutside } from "@vueuse/components";
146-
147146
export default {
148147
name: "app-card",
149148
components: {
@@ -351,6 +350,7 @@ export default {
351350
},
352351
353352
openSystemApps(item) {
353+
const bus = window.$wujie.bus;
354354
switch (item.name) {
355355
case "App Store":
356356
this.openAppStore();
@@ -360,12 +360,24 @@ export default {
360360
action: "open",
361361
name: "icewhale_settings",
362362
});
363+
if(bus){
364+
bus.$emit("mircoapp_communicate", {
365+
action: "open",
366+
name: "icewhale_settings",
367+
});
368+
}
363369
break;
364370
case "Backup":
365371
this.$messageBus("mircoapp_communicate", {
366372
action: "open",
367373
name: "icewhale_backup",
368374
});
375+
if(bus){
376+
bus.$emit("mircoapp_communicate", {
377+
action: "open",
378+
name: "icewhale_backup",
379+
});
380+
}
369381
break;
370382
default:
371383
break;

0 commit comments

Comments
 (0)