|
@@ -1655,9 +1655,13 @@ const getSupplierLists = utils.debounce(function (string: string) {
|
|
|
getSupplierLists('')
|
|
|
|
|
|
const getSearchData = async function (p: any) {
|
|
|
- return await axios.post('/api/common/getPublicLists', p).then((response) => {
|
|
|
- return response
|
|
|
- })
|
|
|
+ return await axios
|
|
|
+ .post('/api/common/getPublicLists', p, {
|
|
|
+ headers: { 'Content-Type': 'multipart/form-data' },
|
|
|
+ })
|
|
|
+ .then((response) => {
|
|
|
+ return response
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
const getPath = function (path: string) {
|