Commit 798dbf0d by zhaochengxiang

模型路径

parent f50d6e3f
......@@ -369,7 +369,7 @@ const ModelTable = (props) => {
newColumns.forEach((column, index) => {
if (!column.width) {
const rowWidth = (cols.reduce((preVal, col) => (col.width?col.width:0) + preVal, 0)) + 50;
const rowWidth = (newColumns.reduce((preVal, col) => (col.width?col.width:0) + preVal, 0)) + 50;
if (tableWidth > rowWidth) {
column.width = (tableWidth-rowWidth)>200?(tableWidth-rowWidth):200;
......@@ -381,7 +381,7 @@ const ModelTable = (props) => {
newIncludePathColumns.forEach((column, index) => {
if (!column.width) {
const rowWidth = (cols.reduce((preVal, col) => (col.width?col.width:0) + preVal, 0)) + 50;
const rowWidth = (newIncludePathColumns.reduce((preVal, col) => (col.width?col.width:0) + preVal, 0)) + 50;
if (tableWidth > rowWidth) {
column.width = (tableWidth-rowWidth)>200?(tableWidth-rowWidth):200;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment