From faff0e4914cb084c5f9ff27f0094343d6bd9cfd1 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Wed, 11 Dec 2019 10:55:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=95=86=E5=93=81=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E8=A1=A8=E5=8D=95=E7=88=B6=E7=BA=A7=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=9C=AC=E8=BA=AB=E6=95=B0=E6=8D=AE?= 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 c953a9f..ba45a31 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())) ?> + field($model, 'pid')->dropDownList(array_merge([0 => '一级分类'], ShopCategory::modelColumn($model->id))) ?> field($model, 'desc')->textInput(['maxlength' => true]) ?>