diff --git a/backend/modules/goods/views/shop-category/_form.php b/backend/modules/goods/views/shop-category/_form.php index 858f9ab..7621f14 100755 --- a/backend/modules/goods/views/shop-category/_form.php +++ b/backend/modules/goods/views/shop-category/_form.php @@ -21,7 +21,7 @@ use backend\modules\goods\models\ars\ShopCategory; field($model, 'keywords')->textInput(['maxlength' => true]) ?> - field($model, 'pid')->dropDownList(array_merge([0 => '一级分类'], ShopCategory::modelColumn($model->id))) ?> + field($model, 'pid')->dropDownList(ShopCategory::modelColumn($model->id)) ?> field($model, 'desc')->textInput(['maxlength' => true]) ?>