From fd98c27dcead4d0b1635d405ff734751f2153e30 Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Sun, 30 Jul 2023 13:21:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=B8=8D=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=9A=84=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/views/cultrue/index.vue | 29 +++-------------------------- src/views/ty/index.vue | 1 + 3 files changed, 5 insertions(+), 27 deletions(-) diff --git a/src/App.vue b/src/App.vue index a8c1fbe..552acd6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -59,7 +59,7 @@ export default { mounted() { this.getTimespan(); this.getStat(); - this.getWS() + // this.getWS() }, methods: { // diff --git a/src/views/cultrue/index.vue b/src/views/cultrue/index.vue index 0b738db..8435ff6 100644 --- a/src/views/cultrue/index.vue +++ b/src/views/cultrue/index.vue @@ -857,33 +857,7 @@ export default { }) }, - // 图书馆 - getTsgInfoDatas() { - let that = this - homeApi.allTsgInfoDatas().then(res => { - // get allTimeData - const tmpdata = res.data.data - // console.log(tmpdata); - // console.log(typeof(tmpdata.today.incount)); - // this.todayNum = this.toLocaleString(tmpdata.today.incount) - // this.monthNum = this.toLocaleString(tmpdata.month.incount) - // this.yearNum = this.toLocaleString(tmpdata.year.incount) - // console.log(this.todayNum, this.monthNum, this.yearNum); - // this.day_num = tmpdata.day.noRepeatInNum - // this.week_num_num = tmpdata.week.noRepeatInNum - // this.mon_num = tmpdata.month.noRepeatInNum - // this.year_num = tmpdata.year.noRepeatInNum - - // let btdata = new Array(); - // let bvdata = new Array(); - // tmpdata.foreach(function(item,index){ - // console.log(item); - // console.log(index); - // }); - - }); - }, toLocaleString(num) { const arr = num.toString().split('').reverse() // 遍历数组 @@ -916,6 +890,9 @@ export default { // console.log(res, '====='); that.data24h = res.data.data.dvalue; that.data24hX = res.data.data.dkeys; + + // ZONGRENSH + }); }); }, diff --git a/src/views/ty/index.vue b/src/views/ty/index.vue index fa801fa..b8ae2a4 100644 --- a/src/views/ty/index.vue +++ b/src/views/ty/index.vue @@ -938,6 +938,7 @@ export default { that.weekNum = rtdata.week.noRepeatInNum that.monthNum = rtdata.month.noRepeatInNum that.yearNum = rtdata.year.noRepeatInNum + // }); },