first commit

This commit is contained in:
liu
2026-05-30 17:38:49 +08:00
commit 2bcb722448
413 changed files with 43656 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import useAuthStore from "@/stores/user";
function useAuth() {
const access = useAuthStore(state => state.access);
const auth = (key: string) => access.includes(key);
return {auth};
}
export default useAuth;