diff --git a/frontend/src/business/components/api/automation/scenario/variable/CsvFileUpload.vue b/frontend/src/business/components/api/automation/scenario/variable/CsvFileUpload.vue index a09d282718..3ef5fca8cb 100644 --- a/frontend/src/business/components/api/automation/scenario/variable/CsvFileUpload.vue +++ b/frontend/src/business/components/api/automation/scenario/variable/CsvFileUpload.vue @@ -88,13 +88,10 @@ export default { return {} } }, - mounted() { - this.exist(); - }, methods: { exist() { - this.loading = true; this.parameter.files.forEach(file => { + this.loading = true; this.$get('/file/metadata/exist/' + file.fileId, response => { file.isExist = !response.data; this.loading = false; @@ -279,8 +276,8 @@ export default { } .ms-list__item-delete { - margin-top: -10px; - padding-top: -10px; + margin-top: -15px; + padding-top: -15px; text-align: center; vertical-align: middle; } diff --git a/frontend/src/business/components/api/definition/components/body/ApiBodyFileUpload.vue b/frontend/src/business/components/api/definition/components/body/ApiBodyFileUpload.vue index 09459573d2..d5b74c4fc3 100644 --- a/frontend/src/business/components/api/definition/components/body/ApiBodyFileUpload.vue +++ b/frontend/src/business/components/api/definition/components/body/ApiBodyFileUpload.vue @@ -229,8 +229,7 @@ export default { } .ms-list__item-delete { - margin-top: -10px; - padding-top: -10px; + margin-top: -12px; text-align: center; vertical-align: middle; }