浏览代码

增加商品属性定义

abiao 5 年之前
父节点
当前提交
19e61fae53
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      app/models/product.rb

+ 3 - 1
app/models/product.rb

@@ -106,7 +106,9 @@ class Product < ActiveRecord::Base
             end
             field :is_only_new
             field :video_state
-            field :get_size_enum
+            field :get_size_enum do
+                visible false
+            end
             field :size_id, :enum do
                 enum do
                     SIZE_ENUM