浏览代码

💄 隐藏数据统计中的区县级

imengyu 1 周之前
父节点
当前提交
43a1bee66b
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/views/HomeView.vue
  2. 1 1
      src/views/InheritorView.vue

+ 1 - 1
src/views/HomeView.vue

@@ -295,7 +295,7 @@ const statsData = useSimpleDataLoader(async () => {
     {
       title: '非遗代表性传承人',
       type: '2',
-      datas: data.inheritorData.filter((p: any) => [ '国家级', '省级', '市级', '区县级' ].includes(p.title)).map((item: any) => {
+      datas: data.inheritorData.filter((p: any) => [ '国家级', '省级', '市级'/* , '区县级' */ ].includes(p.title)).map((item: any) => {
         return {
           title: item.title,
           value: item.total,

+ 1 - 1
src/views/InheritorView.vue

@@ -279,7 +279,7 @@ const statsData = useSimpleDataLoader(async () => {
     {
       title: '非遗代表性传承人',
       type: '2',
-      datas: data.inheritorData.filter((p: any) => [ '国家级', '省级', '市级', '区县级' ].includes(p.title)).map((item: any) => {
+      datas: data.inheritorData.filter((p: any) => [ '国家级', '省级', '市级'/* , '区县级' */ ].includes(p.title)).map((item: any) => {
         return {
           title: item.title,
           value: item.total,