From e12aac98a949fc35c9d3aa15c70198135ab8aa28 Mon Sep 17 00:00:00 2001 From: zxc <1272811460@qq.com> Date: Fri, 26 Aug 2022 14:44:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/communityService/worklog/workLog.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/modules/communityService/worklog/workLog.vue b/src/views/modules/communityService/worklog/workLog.vue index 94b2f0445..347ef2ca3 100644 --- a/src/views/modules/communityService/worklog/workLog.vue +++ b/src/views/modules/communityService/worklog/workLog.vue @@ -611,8 +611,8 @@ export default { //清空上传列表 this.$refs['upload'].clearFiles() - // var url = '/heart/workdiaryService/record/import' - var url = 'http://yapi.elinkservice.cn/mock/245/heart/workdiaryService/record/import' + var url = '/heart/workdiaryService/record/import' + // var url = 'http://yapi.elinkservice.cn/mock/245/heart/workdiaryService/record/import' let fileFormData = new FormData(); fileFormData.append('file', this.files);//filename是键,file是值,就是要传的文件,test.zip是要传的文件名