|
|
|
@ -215,20 +215,19 @@ export default defineComponent({
|
|
|
|
|
v-model={[this.uploadForm.name, 'value']} |
|
|
|
|
placeholder={t('resource.function.enter_name_tips')} |
|
|
|
|
/> |
|
|
|
|
<NButton> |
|
|
|
|
<NUpload |
|
|
|
|
v-model={[this.uploadForm.file, 'value']} |
|
|
|
|
customRequest={this.customRequest} |
|
|
|
|
showFileList={false} |
|
|
|
|
> |
|
|
|
|
<NButton text> |
|
|
|
|
上传 |
|
|
|
|
<NIcon> |
|
|
|
|
<CloudUploadOutlined /> |
|
|
|
|
</NIcon> |
|
|
|
|
</NButton> |
|
|
|
|
</NUpload> |
|
|
|
|
</NButton> |
|
|
|
|
<NUpload |
|
|
|
|
v-model={[this.uploadForm.file, 'value']} |
|
|
|
|
customRequest={this.customRequest} |
|
|
|
|
showFileList={false} |
|
|
|
|
style={{ width: 'auto' }} |
|
|
|
|
> |
|
|
|
|
<NButton> |
|
|
|
|
{t('resource.function.upload')} |
|
|
|
|
<NIcon> |
|
|
|
|
<CloudUploadOutlined /> |
|
|
|
|
</NIcon> |
|
|
|
|
</NButton> |
|
|
|
|
</NUpload> |
|
|
|
|
</NInputGroup> |
|
|
|
|
</NFormItem> |
|
|
|
|
<NFormItem |
|
|
|
@ -245,7 +244,9 @@ export default defineComponent({
|
|
|
|
|
/> |
|
|
|
|
</NFormItem> |
|
|
|
|
<NFormItem label=' '> |
|
|
|
|
<NButton onClick={this.handleUpload}>上传UDF资源</NButton> |
|
|
|
|
<NButton onClick={this.handleUpload}> |
|
|
|
|
{t('resource.function.upload_udf_resources')} |
|
|
|
|
</NButton> |
|
|
|
|
</NFormItem> |
|
|
|
|
</NForm> |
|
|
|
|
)} |
|
|
|
|