瀏覽代碼

fix: 文字

gemercheung 1 年之前
父節點
當前提交
7c24edf5ca
共有 2 個文件被更改,包括 6 次插入7 次删除
  1. 4 4
      public/relic-data/data.json
  2. 2 3
      src/views/RelicList.vue

文件差異過大導致無法顯示
+ 4 - 4
public/relic-data/data.json


+ 2 - 3
src/views/RelicList.vue

@@ -63,9 +63,8 @@
               wide: item['名称'].length > 11
             }"
             :title="item['名称']"
-          >
-            {{ item['名称'] }}
-          </div>
+            v-html="item['名称']"
+          />
           <img
             class=""
             :src="getRelicThumbUrl(idx)"