diff --git a/src/App.vue b/src/App.vue index bae90b1..b1f1280 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,9 +8,15 @@ import Status from './components/status.vue' const currentWorkingCategoryID = ref(1) + const summaryRef = ref(null); + const updateCurrentWorkingCategoryID = (id) =>{ currentWorkingCategoryID.value = id } + + const refreshPage = () => { + summaryRef.value.loadData() + } @@ -18,10 +24,10 @@
- +
- +
diff --git a/src/components/summary.vue b/src/components/summary.vue index 88a806b..84f3268 100644 --- a/src/components/summary.vue +++ b/src/components/summary.vue @@ -1,5 +1,5 @@