diff --git a/gringotts-frontend/components/resource/dialog-resource.js b/gringotts-frontend/components/resource/dialog-resource.js index 178dbbb..0c4eb88 100644 --- a/gringotts-frontend/components/resource/dialog-resource.js +++ b/gringotts-frontend/components/resource/dialog-resource.js @@ -62,7 +62,8 @@ function detailForm(showCreatedUserAndModifiedUser = false) { }, { visibleOn: "${resourceType === 'API'}", - type: 'fieldSet', + type: 'wrapper', + size: 'none', body: [ { type: 'input-text', @@ -87,7 +88,8 @@ function detailForm(showCreatedUserAndModifiedUser = false) { }, { visibleOn: "${resourceType === 'FILE'}", - type: 'fieldSet', + type: 'wrapper', + size: 'none', body: [ formInputSingleFileStatic('file', '数据文件'), { @@ -105,7 +107,8 @@ function detailForm(showCreatedUserAndModifiedUser = false) { }, { visibleOn: "${resourceType === 'DATABASE'}", - type: 'fieldSet', + type: 'wrapper', + size: 'none', body: [ { type: 'select', @@ -141,7 +144,8 @@ function detailForm(showCreatedUserAndModifiedUser = false) { }, { visibleOn: "${resourceType === 'HDFS'}", - type: 'fieldSet', + type: 'wrapper', + size: 'none', body: [ formInputSingleFileStatic('coreSiteFile', 'core-site.xml'), { @@ -169,7 +173,8 @@ function detailForm(showCreatedUserAndModifiedUser = false) { }, { visibleOn: "${resourceType === 'FTP'}", - type: 'fieldSet', + type: 'wrapper', + size: 'none', body: [ { type: 'input-text',