diff --git a/web/public/config/columnList.js b/web/public/config/columnList.js index e1fcec5..7f4c6c5 100644 --- a/web/public/config/columnList.js +++ b/web/public/config/columnList.js @@ -87,6 +87,8 @@ export const columnList = [ title: '关联权限', dataIndex: 'permission', key: 'permission', + ellipsis: true, + scopedSlots: { customRender: 'permission' } }, { @@ -581,7 +583,7 @@ export const roleOptions = [ dataIndex: 'is_view', key: 'is_view', align: 'center', - scopedSlots: { customRender: 'isQuery' } + scopedSlots: { customRender: 'is_view' } } ] }, diff --git a/web/src/components/ComTable.vue b/web/src/components/ComTable.vue index d425351..50aa933 100644 --- a/web/src/components/ComTable.vue +++ b/web/src/components/ComTable.vue @@ -190,16 +190,16 @@ watch( }, { deep: true, immediate: true } ) -watch( - () => props.tableH, - (n, o) => { - if (n && n !== o) { - const pageH = data.newTableOpt.page ? 42 : 0 - scroll.value = { y: n - pageH - 56 } - } - } - // { deep: true, immediate: true } -) +// watch( +// () => props.tableH, +// (n, o) => { +// if (n && n !== o) { +// const pageH = data.newTableOpt.page ? 42 : 0 +// scroll.value = { y: n - pageH - 56 } +// } +// } +// // { deep: true, immediate: true } +// ) function rowClassName(record, index) { return 'table-row' diff --git a/web/src/components/EditCom.vue b/web/src/components/EditCom.vue index 07502d3..a1058c1 100644 --- a/web/src/components/EditCom.vue +++ b/web/src/components/EditCom.vue @@ -38,17 +38,18 @@ scroll: { y: 500 } }" > -