This commit is contained in:
2026-05-11 04:54:23 -06:00
parent 73bde644f5
commit 1a1759518d
2 changed files with 8 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import { editUser } from "admin/api"
import { User } from "utils/types"
import type { User } from "utils/types"
interface Props {
user: User
@@ -21,14 +21,6 @@ async function banUser() {
</script>
<template>
<n-flex>
<n-button
size="small"
type="info"
secondary
@click="$router.push({ name: 'ai', query: { username: props.user.username, duration: 'months:2' } })"
>
智能分析
</n-button>
<n-button
size="small"
type="error"