From 7cd213840df13d389ba27b26316a684fe0bfd0e1 Mon Sep 17 00:00:00 2001 From: linyaostalker <602604991@qq.com> Date: Mon, 25 Nov 2019 09:05:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=95=86=E5=93=81=E8=A7=84?= =?UTF-8?q?=E6=A0=BC=E8=A1=A8=E5=8D=95=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/models/ars/Attribute.php | 4 ++-- vendor/antgoods/goods/src/views/attribute/_form.php | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) 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; field($model, 'value')->textarea(['rows' => 6]) ?> - field($model, 'type')->textInput() ?> - field($model, 'sort_order')->textInput() ?>