Przeglądaj źródła

画像业务领域宽度适配 右侧图例显示调整

hml 5 miesięcy temu
rodzic
commit
c565b6d879

+ 4 - 4
src_product/iam/audit/riskLibrary/audit-process-risk.vue

@@ -39,13 +39,13 @@
             <div :class="$style.contentTitle">问题推送数量</div>
             <a-form-model layout="inline" :class="$style.searchform">
               <a-form-model-item label="业务领域:">
-                <div>
+                <div style="100%">
                   <!-- 多选 -->
                   <a-select
-                    style="100%"
                     v-model="searchForm.area"
                     mode="multiple"
                     :max-tag-count="2"
+                    style="100%"
                     @change="areaChange"
                   >
                     <template slot="maxTagPlaceholder"> ... </template>
@@ -668,12 +668,12 @@ export default {
           pageButtonGap: 22, // 翻页按钮与图例的间距
           formatter: function (name) {
             // 截取字符串八个
-            return name.length > 20 ? name.substring(0, 20) + '...' : name
+            return name.length > 25 ? name.substring(0, 25) + '...' : name
           },
         },
         grid: {
           left: '5%',
-          right: 350,
+          right: 400,
           top: '18%',
           bottom: '10%',
         },