From 24a3dfc5c78e1bdd77fd277586438fa5235e94f9 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Tue, 26 Nov 2019 09:03:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E8=A1=A8=E5=8D=95=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E9=9A=90=E8=97=8F=E7=9A=84=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/antgoods/goods/src/views/category/_form.php | 2 +- vendor/antgoods/goods/src/views/shopcategory/_form.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/antgoods/goods/src/views/category/_form.php b/vendor/antgoods/goods/src/views/category/_form.php index a4a63e4..344b234 100644 --- a/vendor/antgoods/goods/src/views/category/_form.php +++ b/vendor/antgoods/goods/src/views/category/_form.php @@ -18,7 +18,7 @@ use yii\helpers\Url; field($model, 'sort_order')->textInput() ?> - field($model, 'iconImageId')->textInput()->label('') ?> + field($model, 'iconImageId')->hiddenInput()->label('') ?> field($model, 'iconImagePath')->widget(\iron\widgets\Upload::className(), [ 'url' => 'upload', 'deleteUrl' => 'img-id-del', diff --git a/vendor/antgoods/goods/src/views/shopcategory/_form.php b/vendor/antgoods/goods/src/views/shopcategory/_form.php index cf80c31..d213cda 100644 --- a/vendor/antgoods/goods/src/views/shopcategory/_form.php +++ b/vendor/antgoods/goods/src/views/shopcategory/_form.php @@ -22,7 +22,7 @@ use yii\helpers\Url; field($model, 'sort_order')->textInput() ?> - field($model, 'iconImageId')->textInput()->label('') ?> + field($model, 'iconImageId')->hiddenInput()->label('') ?> field($model, 'iconImagePath')->widget(\iron\widgets\Upload::className(), [ 'url' => 'upload', 'deleteUrl' => 'img-id-del',