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