Browse Source

fix: Table组件设置 align="center" 导致横向滚动条位置错误问题

陈财富 1 năm trước cách đây
mục cha
commit
22f071d926
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/components/Table/src/Table.vue

+ 1 - 0
src/components/Table/src/Table.vue

@@ -339,6 +339,7 @@ export default defineComponent({
       const bindValue: Recordable = { ...attrs, ...unref(getProps) }
       delete bindValue.columns
       delete bindValue.data
+      delete bindValue.align
       return bindValue
     })