Commit 8b567834 authored by 高滢's avatar 高滢

feat(上传附件): 获取服务器路径

parent 27621b90
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
required: true, required: true,
componentProps: { componentProps: {
api: uploadApi, api: uploadApi,
resultField: 'data.data.fullPath', resultField: 'data.data.serverPath',
accept: ['rar', 'zip', 'doc', 'docx', 'pdf'], accept: ['rar', 'zip', 'doc', 'docx', 'pdf'],
multiple: false, multiple: false,
maxSize: 20, maxSize: 20,
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
required: true, required: true,
componentProps: { componentProps: {
api: uploadApi, api: uploadApi,
resultField: 'data.data.fullPath', resultField: 'data.data.serverPath',
accept: ['rar', 'zip', 'doc', 'docx', 'pdf'], accept: ['rar', 'zip', 'doc', 'docx', 'pdf'],
multiple: false, multiple: false,
maxSize: 20, maxSize: 20,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment