fix(系统设置): 修复环境变量转存csv报错的缺陷

--bug=1016037 --user=王孝刚 【项目设置】环境通用配置中,上传本地文件后转存,报错了
https://www.tapd.cn/55049933/s/1228007
This commit is contained in:
wxg0103 2022-08-19 16:17:34 +08:00 committed by f2c-ci-robot[bot]
parent 8a96a1f84e
commit 6a36771b4a
1 changed files with 22 additions and 21 deletions

View File

@ -90,12 +90,13 @@ export default {
}
let request = {
id: getUUID(),
resourceId: this.id,
csv: true,
resourceId: this.file.id,
moduleId: moduleId,
projectId: getCurrentProjectID(),
fileName: this.file.name
};
this.$fileUpload("/file/metadata/api/upload", null, files, request, (response) => {
this.$fileUpload("/file/metadata/dump/file", null, files, request, (response) => {
this.$success(this.$t("organization.integration.successful_operation"));
});
},