瀏覽代碼

改改改改傻逼

任一存 2 年之前
父節點
當前提交
732635bef5
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      public/chart.html
  2. 1 1
      public/chart4app.html
  3. 1 1
      src/views/History.vue

+ 1 - 1
public/chart.html

@@ -89,7 +89,7 @@
 
       for (const iterator of corpList) {
         const newNode = {
-          name: iterator.companyName || iterator.name,
+          name: iterator.name || iterator.companyName,
           id: iterator.id.toString(),
           symbolSize: iterator.importance || (100 * Math.random()),
           itemStyle: {

+ 1 - 1
public/chart4app.html

@@ -92,7 +92,7 @@
 
       for (const iterator of corpList) {
         const newNode = {
-          name: iterator.companyName || iterator.name,
+          name: iterator.name || iterator.companyName,
           id: iterator.id.toString(),
           symbolSize: iterator.importance || (100 * Math.random()),
           itemStyle: {

+ 1 - 1
src/views/History.vue

@@ -136,7 +136,7 @@ export default {
         const targetCorp = corpList.value.find((item) => {
           return item.id.toString() === activeCorpId.value.toString()
         })
-        return targetCorp?.companyName || targetCorp?.name || ''
+        return targetCorp?.name || targetCorp?.companyName || ''
       }
     })
     const articleDesc = computed(() => {