xiongzhu 2 ani în urmă
părinte
comite
04910ee24d
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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 => {