Browse Source

👎 按小丑要求修改文字

快乐的梦鱼 1 month ago
parent
commit
8a5ad80427
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/pages/inhert/old/list.vue

+ 5 - 2
src/pages/inhert/old/list.vue

@@ -35,9 +35,12 @@ async function loadData(
     })
   , page, pageSize));
   res.list.forEach((p) => {
-    p.titlePrefix = `${p.fontName || ''}`;
+    p.titlePrefix = p.title;
+    p.title = `${p.fontName || ''}`;
     p.bottomTags = p.brandType;
-  })
+  }) 
+  console.log(res.list);
+  
   return res;
 }