浏览代码

权限联锁名称过长,加上省略号

dongjh 7 月之前
父节点
当前提交
9939fb9f76
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/views/module_interLock/systemUser/modules/SystemUserForm.vue

+ 3 - 2
src/views/module_interLock/systemUser/modules/SystemUserForm.vue

@@ -57,7 +57,6 @@
                 v-if="tpmTreeData && tpmTreeData.length"
                 v-if="tpmTreeData && tpmTreeData.length"
                 ref="table"
                 ref="table"
                 size="middle"
                 size="middle"
-                :scroll="{x:true}"
                 bordered
                 bordered
                 rowKey="interlockSystemId"
                 rowKey="interlockSystemId"
                 :columns="columns"
                 :columns="columns"
@@ -171,7 +170,9 @@ import { postAction } from '../../../../api/manage'
         columns: [
         columns: [
           {
           {
             title:'',
             title:'',
-            dataIndex: 'interlockName'
+            dataIndex: 'interlockName',
+            ellipsis: true,
+            customRender: (text,record) => <a-tooltip placement="topLeft" title = {record.interlockName} >{record.interlockName}</a-tooltip>
           },
           },
           {
           {
             // title:'管理',
             // title:'管理',