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',