* Unify the count of assigntome block,

This commit is contained in:
liumengyi
2023-10-30 10:40:18 +08:00
parent bf84b3a2c8
commit f11559e1dd
4 changed files with 19 additions and 78 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ $blockSize = !empty($config->block->size[$module][$code]) ? $config->block->si
/* 根据区块的可选尺寸生成区块的可选宽度列表。 */
$widthOptions = array();
foreach(array_keys($blockSize) as $width) $widthOptions[$width] = zget($this->lang->block->widthOptions, $width);
$defaultWidth = reset(array_keys($blockSize));
$defaultWidth = reset($widthOptions);
row
(
set::id('blockCreateForm'),