소스 검색

增加商品属性定义

abiao 5 년 전
부모
커밋
f999bddc25
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/models/product_attr_config.rb

+ 1 - 1
app/models/product_attr_config.rb

@@ -26,7 +26,7 @@ class ProductAttrConfig < ActiveRecord::Base
         })
 
         list do 
-            filters [:product_id,:attr_key_id]
+            filters [:product_id,:product_attr_key]
             field :id
             field :product_id
             field :showProducts