mirror of https://github.com/jeecgboot/jeecg-boot
修复问题:低代码开发Online表单开发主子表ERP显示问题 #8532
parent
e00b25af42
commit
baee00921f
|
@ -21,7 +21,7 @@
|
|||
"husky:install": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jeecg/online": "3.7.4-beta",
|
||||
"@jeecg/online": "3.7.4",
|
||||
"@jeecg/aiflow": "1.1.1",
|
||||
"@logicflow/core": "^2.0.10",
|
||||
"@logicflow/extension": "^2.0.14",
|
||||
|
|
|
@ -21,8 +21,8 @@ importers:
|
|||
specifier: 1.1.1
|
||||
version: 1.1.1
|
||||
'@jeecg/online':
|
||||
specifier: 3.7.4-beta
|
||||
version: 3.7.4-beta
|
||||
specifier: 3.7.4
|
||||
version: 3.7.4
|
||||
'@logicflow/core':
|
||||
specifier: ^2.0.10
|
||||
version: 2.0.16
|
||||
|
@ -1198,8 +1198,8 @@ packages:
|
|||
'@jeecg/aiflow@1.1.1':
|
||||
resolution: {integrity: sha512-tzX3RXsayssfmMmYFaj7fZJtGdLCZ/AuBnqEafdarIWHx/W5LqWae+o1zo0dyl/QUwMpYYjQJlKBjR8DS20Z0A==}
|
||||
|
||||
'@jeecg/online@3.7.4-beta':
|
||||
resolution: {integrity: sha512-vzhyUikxmlJwpQFxzMexibCYAW6Vdwu4to6wkuaCAjv3DG4b2TIWGzQE/WpU2FAs8E6jBFUNnKk305SslG7XKA==, tarball: https://registry.npmmirror.com/@jeecg/online/-/online-3.7.4-beta.tgz}
|
||||
'@jeecg/online@3.7.4':
|
||||
resolution: {integrity: sha512-P5aWkN2GpnkLpTLSS3dxgXAAXh4JzaqBDa+QtA+J4QQnhMtVGwZBObig9rag2vU6rkBLxvggbOpmalwyfFr9fQ==}
|
||||
|
||||
'@jest/console@29.7.0':
|
||||
resolution: {integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==}
|
||||
|
@ -6264,7 +6264,7 @@ packages:
|
|||
vue: '>=3.0.0'
|
||||
|
||||
vue-demi@0.14.10:
|
||||
resolution: {integrity: sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==, tarball: https://registry.npmmirror.com/vue-demi/-/vue-demi-0.14.10.tgz}
|
||||
resolution: {integrity: sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==}
|
||||
engines: {node: '>=12'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
|
@ -7240,7 +7240,7 @@ snapshots:
|
|||
|
||||
'@jeecg/aiflow@1.1.1': {}
|
||||
|
||||
'@jeecg/online@3.7.4-beta': {}
|
||||
'@jeecg/online@3.7.4': {}
|
||||
|
||||
'@jest/console@29.7.0':
|
||||
dependencies:
|
||||
|
|
|
@ -158,6 +158,13 @@ export function useTableScroll(
|
|||
const trHeight = lastrEl.offsetHeight;
|
||||
const dataHeight = trHeight * pageSize;
|
||||
if (tableBody && lastrEl) {
|
||||
// update-begin--author:liaozhiyang---date:20250702---for:【issues/8532】online权限管理中的按钮权限第一页数据看不到
|
||||
// table是否隐藏(隐藏的table不能吸底)
|
||||
const isTableBodyHide = tableBody.offsetHeight == 0 && tableBody.offsetWidth == 0;
|
||||
if (isTableBodyHide) {
|
||||
return;
|
||||
}
|
||||
// update-end--author:liaozhiyang---date:20250702---for:【issues/8532】online权限管理中的按钮权限第一页数据看不到
|
||||
if (current === 1 && pageSize > unref(getDataSourceRef).length && total <= pageSize) {
|
||||
tableBody.style.height = `${height}px`;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue