Skip to content

Commit

Permalink
fix: add console
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuangs committed Oct 25, 2024
1 parent 4e1f970 commit f5a34b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/frontend/src/layouts/MainLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ bus.on('app_installation_event', () => {
});
bus.on('entrance_state_event', () => {
console.log('into entrance_state_event');
appStore.update_my_apps_info();
});
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/stores/websocketStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export const useSocketStore = defineStore('counter', {
onmessage: (ev) => {
try {
const message = JSON.parse(ev.data);
console.log('WebSocketBean onmessage', message);

if (message.topic == MessageTopic.Data) {
if (message.event == 'updateConfig') {
Expand Down

0 comments on commit f5a34b6

Please sign in to comment.