修改小程序bug

This commit is contained in:
邓洁
2023-02-27 00:46:01 +08:00
parent b0d3372b7c
commit fd3b8347a4
8 changed files with 45 additions and 18 deletions

View File

@@ -58,9 +58,11 @@
pageSize: this.pageSize,
pageNum: this.pageNum
}).then(res => {
console.log('产品列表1', res.data);
let tags = res.data.data
if (tags) {
for (const item of tags) {
console.log('item.cover', item.cover);
let tag = item.tags
this.tagsArray = tag.split(',')
item.tags = this.tagsArray[0]