@@ -10,7 +10,7 @@ class Product < ActiveRecord::Base
#["代销","user_sale"]
SIZE_ENUM = []
def get_size_enum
- IZE_ENUM.clear
+ SIZE_ENUM.clear
if SIZE_ENUM.length ==0
@Size = ProductAttrConfig.where("product_id=? and size_type='size'",self.id).first
if !@Size.blank?