协同编辑代码

This commit is contained in:
2025-10-05 01:18:00 +08:00
parent fce96f2087
commit 7b139d404e
18 changed files with 1728 additions and 161 deletions

View File

@@ -2,6 +2,7 @@
import { PROBLEM_PERMISSION, USER_TYPE } from "~/utils/constants"
import { getUserRole } from "~/utils/functions"
import { User } from "~/utils/types"
import TextCopy from "~/shared/components/TextCopy.vue"
interface Props {
user: User
@@ -30,6 +31,6 @@ const isNotRegularUser = computed(
: "仅自己"
}}
</n-tag>
{{ props.user.username }}
<TextCopy>{{ props.user.username }}</TextCopy>
</n-flex>
</template>