使用antd的upload組件上傳文件的時候如何同時傳文件和要存的數據庫表名。(即post方式如何傳多個參數)

解決方法,先定義一個變量賦值參數paramData,而後在props裏面加上data屬性便可。 render(){ var paramData = {'tableName':'team'}; const props = { actions: '/xxx/yyy', //controller中的requestMapping name: 'file',
相關文章
相關標籤/搜索