chore(frontend): 落地 ADS 治理体系并收录前端底座基线代码

This commit is contained in:
zhoulei
2026-08-19 14:39:02 +08:00
parent 775e075495
commit 1f84456421
177 changed files with 18574 additions and 0 deletions
@@ -0,0 +1,18 @@
import { defineStore } from 'pinia'
import { ref, reactive, computed } from 'vue'
export const useRoutesStore = defineStore('routes', () => {
const hasRoutes = ref(false)
const routes = reactive([])
// const getSubRoutes = computed((path: string) => routes.find((item: any) => {
// console.log('哈哈', path);
// if (item.path === path) {
// return item.children
// }
// }));
return { hasRoutes, routes }
})