One thing that we could have done is just call the getCurrentCategoryId() function in every component that needed that info. For example, in sidebar.vue , where ...
確定! 回上一頁