2025-02-26 20:55:17 +08:00
parent 6586872327
commit dd633d34e6
4 changed files with 79 additions and 43 deletions

View File

@@ -127,7 +127,7 @@ const createAvatarState = reactive({
description: '',
model_id: undefined,
avatar: '',
type: 0,
type: 2,
})
const createAvatarSchema = object({
@@ -424,10 +424,9 @@ const onAvatarUpload = async (files: FileList) => {
>
<USelect
v-model="createAvatarState.type"
disabled
:options="[
{ label: '系统', value: 0 },
{ label: '用户', value: 1 },
{ label: '内部', value: 2 },
{ label: '上游(万木)', value: 1 },
]"
/>
</UFormGroup>