From f1c8bb2f2e4d5d766d1509c7ec1fdd626adcbc92 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Wed, 18 Dec 2019 09:05:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E5=95=86=E5=93=81=E5=90=8E=E5=8F=B0?= =?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/category/_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/modules/goods/views/category/_form.php b/backend/modules/goods/views/category/_form.php index 8356b52..c0ad3c8 100755 --- a/backend/modules/goods/views/category/_form.php +++ b/backend/modules/goods/views/category/_form.php @@ -17,7 +17,7 @@ use backend\modules\goods\models\ars\Category; field($model, 'name')->textInput(['maxlength' => true]) ?> - field($model, 'pid')->dropDownList(array_merge([0 => '一级分类'], Category::modelColumn($model->id))) ?> + field($model, 'pid')->dropDownList(Category::modelColumn($model->id)) ?> field($model, 'sort_order')->textInput() ?>