vbenjs / vue-vben-admin

A modern vue admin panel built with Vue3, Shadcn UI, Vite, TypeScript, and Monorepo. It's fast!
https://www.vben.pro
MIT License
25.4k stars 6.91k forks source link

Bug: 文件上传报错 #4909

Closed zwtvip closed 2 days ago

zwtvip commented 4 days ago

Version

Vben Admin V5

Describe the bug?

   {
      component: 'Upload',
      componentProps: {
        placeholder: '请上传文件',
      },
      fieldName: 'fileUpload',
      label: '文件上传',
      renderComponentContent: () => {
        return {
          default: () => [h(Button, { type: 'primary' }, () => '文件上传')],
        };
      },
    }

Reproduction

image image

System Info

win11, edge

Relevant log output

No response

Validations

mynetfan commented 2 days ago

Duplicate of #4882