Parcourir la source

增加商品属性定义

abiao il y a 5 ans
Parent
commit
19e61fae53
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  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