Standardize store exports to named useXxxStore convention
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@ const printPageAdminLog = false;
|
||||
// Therefore, we need to handle page transitions caused by both of these methods.
|
||||
// 至少有兩種方式引起畫面的導向: 點選導覽按鈕與重新整理網頁
|
||||
// 因此至少要處理這兩種方式所引起的畫面切換
|
||||
export default defineStore('pageAdminStore', {
|
||||
export const usePageAdminStore = defineStore('pageAdminStore', {
|
||||
state: () => ({
|
||||
activePage: 'MAP',
|
||||
previousPage: 'MAP',
|
||||
|
||||
Reference in New Issue
Block a user