From d62a6cc424d7377eb8eceed4f5b01927b01fd507 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Wed, 18 Dec 2019 09:05:43 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E5=95=86=E5=93=81=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E8=A1=A8=E5=8D=95=E4=BF=AE=E6=94=B9=E7=88=B6?= =?UTF-8?q?=E7=BA=A7=E4=B8=8B=E6=8B=89=E8=8F=9C=E5=8D=95=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/modules/goods/views/shop-category/_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) ?>