소스 검색

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

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,