fix(plugin-file-manager): fix error thrown when creating file collection (#6363)

This commit is contained in:
Junyi 2025-03-05 17:54:27 +08:00 committed by GitHub
parent 4dc22e06a5
commit cb2cb0b5ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View File

@ -24,8 +24,7 @@ describe('Upload', () => {
render(<App2 />); render(<App2 />);
}); });
// TODO: skip due to not pass but works in browser it('upload single', async () => {
it.skip('upload single', async () => {
await renderAppOptions({ await renderAppOptions({
designable: true, designable: true,
enableUserListDataBlock: true, enableUserListDataBlock: true,
@ -124,8 +123,7 @@ describe('Upload', () => {
}); });
}); });
// TODO: skip due to not pass but works in browser it('upload multi', async () => {
it.skip('upload multi', async () => {
await renderAppOptions({ await renderAppOptions({
designable: true, designable: true,
enableUserListDataBlock: true, enableUserListDataBlock: true,

View File

@ -104,7 +104,6 @@ export class FileCollectionTemplate extends CollectionTemplate {
type: 'text', type: 'text',
name: 'url', name: 'url',
deletable: false, deletable: false,
length: 1024,
uiSchema: { uiSchema: {
type: 'string', type: 'string',
title: `{{t("URL")}}`, title: `{{t("URL")}}`,