diff --git a/pages/plugins/brand/index/index.vue b/pages/plugins/brand/index/index.vue
index 8d18bd16..97a5357a 100644
--- a/pages/plugins/brand/index/index.vue
+++ b/pages/plugins/brand/index/index.vue
@@ -3,7 +3,6 @@
- 全部
{{item.name}}
diff --git a/pages/plugins/distribution/recommend-form/recommend-form.vue b/pages/plugins/distribution/recommend-form/recommend-form.vue
index c874f510..fcaae808 100644
--- a/pages/plugins/distribution/recommend-form/recommend-form.vue
+++ b/pages/plugins/distribution/recommend-form/recommend-form.vue
@@ -500,10 +500,15 @@
}
} else {
var status = true;
- for(var i in temp_data.detail_list) {
- if(temp_data.detail_list[i]['goods_id'] == goods['id']) {
- status = false;
- break;
+ if((temp_data.detail_list || null) == null) {
+ temp_data.detail_list = [];
+ }
+ if(temp_data.detail_list.length > 0) {
+ for(var i in temp_data.detail_list) {
+ if(temp_data.detail_list[i]['goods_id'] == goods['id']) {
+ status = false;
+ break;
+ }
}
}
// 追加到关联商品中
diff --git a/pages/plugins/points/index/index.vue b/pages/plugins/points/index/index.vue
index 8934bb96..cbfd6f45 100644
--- a/pages/plugins/points/index/index.vue
+++ b/pages/plugins/points/index/index.vue
@@ -39,11 +39,11 @@
-
-
+
+
- {{item.goods.title}}
- {{currency_symbol}}{{item.goods.price}}
+ {{item.title}}
+ {{currency_symbol}}{{item.price}}
{{item.integral}}
积分
diff --git a/pages/plugins/shop/index/index.vue b/pages/plugins/shop/index/index.vue
index dbfe835e..87be7010 100644
--- a/pages/plugins/shop/index/index.vue
+++ b/pages/plugins/shop/index/index.vue
@@ -3,7 +3,6 @@
- 全部
{{item.name}}