diff --git a/vendor/antgoods/goods/src/views/goods/goods.php b/vendor/antgoods/goods/src/views/goods/goods.php index db125c1..aacfb8e 100644 --- a/vendor/antgoods/goods/src/views/goods/goods.php +++ b/vendor/antgoods/goods/src/views/goods/goods.php @@ -4,6 +4,7 @@ use antgoods\goods\models\ars\Category; use antgoods\goods\models\ars\Brand; use antgoods\goods\models\ars\ShopCategory; use antgoods\goods\models\ars\Supplier; +use linyao\widgets\Select2; /* @var $this yii\web\View */ /* @var $model antgoods\goods\models\ars\Goods */ diff --git a/vendor/antgoods/goods/src/views/goods/picture.php b/vendor/antgoods/goods/src/views/goods/picture.php index 54c11b5..e5d581b 100644 --- a/vendor/antgoods/goods/src/views/goods/picture.php +++ b/vendor/antgoods/goods/src/views/goods/picture.php @@ -15,6 +15,7 @@ use yii\helpers\Url; 'maxCount' => 1, 'fillInAttribute' => 'coverImageId', 'model' => $model, + 'ruleVerify' => $model->ruleVerify, 'previewConfig' => [ 'url' => Url::to(['image-file', 'fileidstr' => $model->coverImageId]), ], @@ -29,6 +30,7 @@ use yii\helpers\Url; 'maxCount' => 5, 'fillInAttribute' => 'detailImageId', 'model' => $model, + 'ruleVerify' => $model->ruleVerify, 'previewConfig' => [ 'url' => Url::to(['image-file', 'fileidstr' => $model->detailImageId]), ], diff --git a/vendor/antgoods/goods/src/views/goods/update.php b/vendor/antgoods/goods/src/views/goods/update.php index c4a3cf1..0cf482f 100644 --- a/vendor/antgoods/goods/src/views/goods/update.php +++ b/vendor/antgoods/goods/src/views/goods/update.php @@ -1,6 +1,8 @@ title = '编辑商品: ' . $model->name; $this->params['breadcrumbs'][] = ['label' => '商品管理', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->id]]; $this->params['breadcrumbs'][] = '编辑 '; +Yii::$app->params['bsVersion'] = '4.x'; ?>