Commit 9a744013 by zhaochengxiang

样式问题

parent 29022bb6
......@@ -120,7 +120,10 @@ function setDefaultWidth(columns, width) {
}
}
if (count > 0) {
const defaultW = (rowWidth > width ? 0 : width - rowWidth) / count
let defaultW = (rowWidth > width ? 0 : width - rowWidth) / count
if (defaultW < 100) {
defaultW = 80
}
for (const col of columns) {
if (typeof col.width !== 'number') {
col.width = defaultW
......
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