diff --git a/vendor/antgoods/goods/src/views/attribute/_form.php b/vendor/antgoods/goods/src/views/attribute/_form.php index 75c5ddf..6984a47 100644 --- a/vendor/antgoods/goods/src/views/attribute/_form.php +++ b/vendor/antgoods/goods/src/views/attribute/_form.php @@ -1,7 +1,7 @@ field($model, 'description')->textarea(['rows' => 6]) ?> - field($model, 'image')->textInput() ?> + field($model, 'image')->widget(\iron\widgets\Upload::className(), [ + 'url' => 'upload', + 'deleteUrl' => 'imageDel', + 'dragdropWidth'=> 800 + ]) ?> field($model, 'model_id')->textInput() ?> diff --git a/vendor/antgoods/goods/src/views/shopcategory/_form.php b/vendor/antgoods/goods/src/views/shopcategory/_form.php index 1c3efe6..155b9d3 100644 --- a/vendor/antgoods/goods/src/views/shopcategory/_form.php +++ b/vendor/antgoods/goods/src/views/shopcategory/_form.php @@ -1,7 +1,7 @@