xiongzhu 2 лет назад
Родитель
Сommit
04910ee24d
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/views/HomePage.vue

+ 2 - 0
src/views/HomePage.vue

@@ -224,6 +224,8 @@ function getBanner() {
 const saleBatches = ref([])
 function getSaleBatch() {
     return http.post('saleBatch/all', {}, { body: 'json' }).then(res => {
+        console.log(res)
+        console.log((saleBatches.value = res.content.filter(i => true != i.hidden)))
         saleBatches.value = res.content
             .filter(i => true != i.hidden)
             .map(item => {