Parcourir la source

Merge branch 'master' into stag

asd26269546 il y a 1 an
Parent
commit
cff864b27b
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/components/common-list.vue

+ 2 - 2
src/components/common-list.vue

@@ -21,12 +21,12 @@
         >
           <div v-for="j in config" :key="j.prop" style="display: flex">
             <span style="width:72px;">{{ j.label }}:</span>
-            <span v-if="j.type && j.type === 'slot'">
+            <span v-if="j.type && j.type === 'slot'" style="flex: 1;">
               <slot :name="j.slotName" :row="i">
                 {{ j.slotName }}插槽占位符
               </slot>
             </span>
-            <span v-else>
+            <span v-else  style="flex: 1;">
               {{ i[j.prop] || ''}}
             </span>
           </div>