This commit is contained in:
2025-12-15 17:55:32 +08:00
commit 28ab17324d
170 changed files with 18373 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<template>
<header style="display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #eee">
<strong>Super Admin</strong>
<router-link to="/">统计</router-link>
<router-link to="/tenants">租户</router-link>
<router-link to="/roles">角色</router-link>
<span style="flex: 1"></span>
<input v-model="token" placeholder="Bearer token可选" style="width: 320px" />
<button @click="applyToken">应用</button>
</header>
<router-view />
</template>
<script setup lang="ts">
import { ref } from 'vue'
import { setSuperToken } from './api'
const token = ref('')
function applyToken() {
setSuperToken(token.value)
}
</script>