|
|
@@ -28,7 +28,6 @@ import config from '@/config.js'
|
|
|
|
|
|
export default {
|
|
|
props: {
|
|
|
- dimensionCode: { type: String, default: '' },
|
|
|
// 兼容模式:父组件直接传入商品数组(member-detail 等页面)
|
|
|
products: { type: Array, default: function() { return [] } },
|
|
|
// 自加载模式:传入 familyId 后组件内部调用 getDimensionProducts
|
|
|
@@ -74,7 +73,6 @@ export default {
|
|
|
var self = this
|
|
|
self.loading = true
|
|
|
var params = {
|
|
|
- dimensionCode: self.dimensionCode,
|
|
|
limit: 4
|
|
|
}
|
|
|
getDimensionProducts(params).then(function(res) {
|