From b21945e7dea2daa8b30bee3cdd4bca91277e3b5f Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期三, 29 十一月 2023 09:22:17 +0800 Subject: [PATCH] 6 --- web/src/components/table-uploader/src/table-uploader.vue | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/web/src/components/table-uploader/src/table-uploader.vue b/web/src/components/table-uploader/src/table-uploader.vue index 7856c5e..73483a3 100644 --- a/web/src/components/table-uploader/src/table-uploader.vue +++ b/web/src/components/table-uploader/src/table-uploader.vue @@ -1,6 +1,6 @@ <template> <div> - <div class="config-uploader" v-if="oss"> + <div class="config-uploader1" v-if="oss"> <div v-for="group in (oss.groups || [])" :key="group.busiFieldGroup"> <zt-form-item v-for="field in group.fields" :prop="field.busiField" :key="field.busiField" :rules="field.isRequired ? 'required':''" style="width: 100%;margin-bottom: 0"> @@ -50,12 +50,12 @@ console.log(this.oss,"this.oss") // this.dataForm.files = this.oss this.$set(this.dataForm, 'files', this.oss) - // 鍒嗚В鍒版瘡涓瓧娈电粰dataForm璧嬪�� this.fields.forEach(field => { // this.dataForm[field.busiField] = field.files this.$set(this.dataForm, field.busiField, field.files) }) + console.log(this.dataForm,'this.dataForm') } } }, @@ -102,8 +102,17 @@ } </script> <style> -.config-uploader label { - width: 260px !important; +.config-uploader1 label { + width: 30px !important; +} +.config-uploader1 a{ + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 180px; +} +.config-uploader1 .zt-upload { + line-height: 0; } .zt .el-upload-list__item .el-progress{ top:15px !important; -- Gitblit v1.9.1