diff --git a/vendor/antgoods/goods/src/models/ars/Attribute.php b/vendor/antgoods/goods/src/models/ars/Attribute.php index ecefe05..d621446 100644 --- a/vendor/antgoods/goods/src/models/ars/Attribute.php +++ b/vendor/antgoods/goods/src/models/ars/Attribute.php @@ -52,8 +52,8 @@ class Attribute extends \yii\db\ActiveRecord { return [ 'id' => 'id', - 'name' => '属性名', - 'value' => '属性值', + 'name' => '规格名称', + 'value' => '规格内容(每项以逗号隔开)', 'type' => '类型', 'sort_order' => '排序', 'is_delete' => '是否删除,1为已删除', diff --git a/vendor/antgoods/goods/src/views/attribute/_form.php b/vendor/antgoods/goods/src/views/attribute/_form.php index 6984a47..b0e98f7 100644 --- a/vendor/antgoods/goods/src/views/attribute/_form.php +++ b/vendor/antgoods/goods/src/views/attribute/_form.php @@ -16,8 +16,6 @@ use yii\bootstrap4\ActiveForm; = $form->field($model, 'value')->textarea(['rows' => 6]) ?> - = $form->field($model, 'type')->textInput() ?> - = $form->field($model, 'sort_order')->textInput() ?>