|
|
@@ -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 => {
|