|
|
@@ -69,8 +69,11 @@
|
|
|
if(res.code!==0) return proxy.$showToast(res.msg)
|
|
|
list.value= [...list.value,...res.data.list];
|
|
|
list.value.forEach(l=>{
|
|
|
- l.createDate = new Date(l.createDate).Format('yyyy.MM.dd hh:mm:ss')
|
|
|
- l.type = l.loveQuantity>=0?1:2 //1增加 2减少
|
|
|
+ if(!l._formatted) {
|
|
|
+ l.createDate = new Date(l.createDate).Format('yyyy.MM.dd hh:mm:ss')
|
|
|
+ l.type = l.loveQuantity>=0?1:2 //1增加 2减少
|
|
|
+ l._formatted = true
|
|
|
+ }
|
|
|
})
|
|
|
queryParams.value.page++
|
|
|
if(res.data.list.length===0) isOver.value = true;
|