[update] 修改bug88397

This commit is contained in:
lideqin
2024-08-09 19:55:24 +08:00
parent 5cbb993775
commit 643d75823e
9 changed files with 17 additions and 10 deletions
+8 -1
View File
@@ -4,7 +4,7 @@
v-on="$listeners" v-on="$listeners"
:row-key="rowKey" :row-key="rowKey"
:bordered="bordered" :bordered="bordered"
:scroll="{x: '100%'}" :scroll="scroll"
:row-class-name="lineCanExpand" :row-class-name="lineCanExpand"
:columns="columns" :columns="columns"
:expandedRowKeys.sync="expandedRowKeys" :expandedRowKeys.sync="expandedRowKeys"
@@ -196,6 +196,13 @@ export default {
name: 'JExpandTable', name: 'JExpandTable',
components: { JUpload }, components: { JUpload },
props: { props: {
scroll: {
type: Object,
required: false,
default: () => {
return { x: '100%' }
}
},
columns: { columns: {
type: Array, type: Array,
default: () => { default: () => {
@@ -4,7 +4,7 @@
<div> <div>
<j-expand-table <j-expand-table
:can-drag="true" :can-drag="true"
:scroll="{x: '100%'}" :scroll="{x: '100%', y: '50vh'}"
ref="expandTable" ref="expandTable"
rowKey="id" rowKey="id"
:columns="columns" :columns="columns"
@@ -194,7 +194,7 @@
<div> <div>
<j-table <j-table
:can-drag="true" :can-drag="true"
:scroll="{x: '100%'}" :scroll="{x: '100%', y: '50vh'}"
ref="table" ref="table"
rowKey="uid" rowKey="uid"
:columns="columns" :columns="columns"
@@ -4,7 +4,7 @@
<j-table <j-table
:can-drag="true" :can-drag="true"
:scroll="{x: '100%'}" :scroll="{x: '100%', y: '50vh'}"
ref="table" ref="table"
rowKey="standardNumber" rowKey="standardNumber"
:columns="columns" :columns="columns"
@@ -30,7 +30,7 @@
<div> <div>
<j-table <j-table
:can-drag="true" :can-drag="true"
:scroll="{x: '100%'}" :scroll="{x: '100%', y: '50vh'}"
ref="table" ref="table"
rowKey="id" rowKey="id"
:columns="columns" :columns="columns"
@@ -11,7 +11,7 @@
<j-table <j-table
:can-drag="true" :can-drag="true"
:scroll="{x: '100%'}" :scroll="{x: '100%', y: '50vh'}"
ref="table" ref="table"
rowKey="standardNumber" rowKey="standardNumber"
:columns="columns" :columns="columns"
@@ -40,7 +40,7 @@
<div> <div>
<j-table <j-table
:can-drag="true" :can-drag="true"
:scroll="{x: '100%'}" :scroll="{x: '100%', y: '50vh'}"
ref="table" ref="table"
rowKey="id" rowKey="id"
:columns="columns" :columns="columns"
@@ -77,7 +77,7 @@
<div> <div>
<j-expand-table <j-expand-table
:can-drag="true" :can-drag="true"
:scroll="{x: '100%'}" :scroll="{x: '100%', y: '50vh'}"
ref="expandTable" ref="expandTable"
rowKey="id" rowKey="id"
:columns="columnsEvaluate" :columns="columnsEvaluate"
@@ -4,7 +4,7 @@
<j-table <j-table
:can-drag="true" :can-drag="true"
:scroll="{x: '100%'}" :scroll="{x: '100%', y: '50vh'}"
ref="table" ref="table"
rowKey="standardNumber" rowKey="standardNumber"
:columns="columns" :columns="columns"
@@ -14,7 +14,7 @@
<div> <div>
<j-table <j-table
:can-drag="true" :can-drag="true"
:scroll="{x: '100%'}" :scroll="{x: '100%', y: '50vh'}"
ref="table" ref="table"
rowKey="id" rowKey="id"
:columns="columns" :columns="columns"