diff --git a/f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue b/f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue
index 13ea60e..057f334 100644
--- a/f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue
+++ b/f/web-kboss/src/views/homePage/ncmatch/mainPage/index.vue
@@ -118,9 +118,12 @@ export default Vue.extend({
init_product_list() {
reqPublishProductSearchFirstPage({ url_link: window.location.href }).then(res => {
if (res.status) {
- this.currentHotMenu = res.data[0].id
- this.hotProductList = res.data[0].product_list
- this.product = res.data
+ if(res.data.length > 0){
+ this.currentHotMenu = res.data[0].id
+ this.hotProductList = res.data[0].product_list
+ this.product = res.data
+ }
+
}
})
},
diff --git a/f/web-kboss/src/views/homePage/ncmatch/mainPage/sendProduct/index.vue b/f/web-kboss/src/views/homePage/ncmatch/mainPage/sendProduct/index.vue
index 1f5583a..8efc9d1 100644
--- a/f/web-kboss/src/views/homePage/ncmatch/mainPage/sendProduct/index.vue
+++ b/f/web-kboss/src/views/homePage/ncmatch/mainPage/sendProduct/index.vue
@@ -95,7 +95,7 @@
-
+