Browse Source

fix 详情

scorpio 2 years ago
parent
commit
3826063893
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/components/basic-form/sub.vue

+ 3 - 3
src/components/basic-form/sub.vue

@@ -20,17 +20,17 @@
       </div>
     </el-col>
     <!--textarea-->
-    <el-col v-if='item.type ==="textarea" ' :style='`height:` + item.rows * 35 + `px`' class='full-width'>
+    <el-col v-if='item.type ==="textarea" ' :style='`height:` + item.rows * 40 + `px`' class='full-width '>
       <div class='flex item full-width'>
         <el-form-item class='full-width '>
           <template v-slot:label>
-            <div :style='`height:` + item.rows * 35 + `px`'
+            <div :style='`height:` + item.rows * 40 + `px`'
                  class='label white-bg full-width text-left padding-left bold'>
               {{ item.label }}
             </div>
           </template>
           <div class='full-width flex flex-align-start full-height text-left full-width'
-               style='white-space: pre-wrap;text-overflow: ellipsis;'>
+               style='white-space: pre-wrap;text-overflow: ellipsis;overflow-y: auto'>
               <textarea v-model='editData[item.prop]' :disabled='disable'
                         :placeholder='`请输入` + item.label'
                         :style='`height:` + item.rows * 35 + `px`'