rabin 3 years ago
parent
commit
ba4d34e515
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/Database.php

+ 3 - 0
src/Database.php

@@ -1676,6 +1676,9 @@ class Database
                                         'title' => $v['name'],
                                     );
                                 }
+                                if (isset($v['width'])) {
+                                    $layui['width'] = $v['width'];
+                                }
                                 $result[] = $layui;
                             } else {
                                 $result[] = '<th data-priority="'.$v['level'].'">' . $v['name'] . '</th>';