瀏覽代碼

👎 按要求修改文字顺序

快乐的梦鱼 1 月之前
父節點
當前提交
cd36478e55
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/inhert/old/list.vue

+ 1 - 1
src/pages/inhert/old/list.vue

@@ -32,7 +32,7 @@ async function loadData(
     .setKeywords(searchText)
   , page, pageSize));
   res.list.forEach((p) => {
-    p.titlePrefix = p.title;
+    p.desc = p.title + (p.desc ? '\n' + p.desc : '');
     p.title = `${p.fontName || ''}`;
     p.bottomTags = p.brandType;
   })