Explorar el Código

增加商品属性定义

abiao hace 5 años
padre
commit
19e61fae53
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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