diff --git a/src/api/app/index.js b/src/api/app/index.js index f31a59d..8f34a54 100644 --- a/src/api/app/index.js +++ b/src/api/app/index.js @@ -24,7 +24,10 @@ export function commonUpload(data) { return request({ url: '/common/upload', method: 'post', - header: { "Content-Type": 'application/x-www-form-urlencoded' }, - data: data + data: data, + timeout: 60000, // 延长超时时间 + headers: { + // 不设置 Content-Type,让浏览器自动设置 + } }) } diff --git a/src/components/form/CommonUpload.vue b/src/components/form/CommonUpload.vue index 723ce33..4f55cce 100644 --- a/src/components/form/CommonUpload.vue +++ b/src/components/form/CommonUpload.vue @@ -1,147 +1,399 @@ - - - diff --git a/src/views/app/project/operate_edit.vue b/src/views/app/project/operate_edit.vue index e40026b..6de7878 100644 --- a/src/views/app/project/operate_edit.vue +++ b/src/views/app/project/operate_edit.vue @@ -6,42 +6,41 @@

经营信息

- - + + - + - + - + - + - + - + - + - - - - + + + + - - - + +