mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 14:39:25 +08:00
fix(plugin-file-manager): fix error thrown when creating file collection (#6363)
This commit is contained in:
parent
4dc22e06a5
commit
cb2cb0b5ed
@ -24,8 +24,7 @@ describe('Upload', () => {
|
||||
render(<App2 />);
|
||||
});
|
||||
|
||||
// TODO: skip due to not pass but works in browser
|
||||
it.skip('upload single', async () => {
|
||||
it('upload single', async () => {
|
||||
await renderAppOptions({
|
||||
designable: true,
|
||||
enableUserListDataBlock: true,
|
||||
@ -124,8 +123,7 @@ describe('Upload', () => {
|
||||
});
|
||||
});
|
||||
|
||||
// TODO: skip due to not pass but works in browser
|
||||
it.skip('upload multi', async () => {
|
||||
it('upload multi', async () => {
|
||||
await renderAppOptions({
|
||||
designable: true,
|
||||
enableUserListDataBlock: true,
|
||||
|
@ -104,7 +104,6 @@ export class FileCollectionTemplate extends CollectionTemplate {
|
||||
type: 'text',
|
||||
name: 'url',
|
||||
deletable: false,
|
||||
length: 1024,
|
||||
uiSchema: {
|
||||
type: 'string',
|
||||
title: `{{t("URL")}}`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user