Browse Source

修正年月点击不生效的效果

master
453530270@qq.com 3 years ago
parent
commit
c418842bef
  1. 8
      src/views/HomeView.vue

8
src/views/HomeView.vue

@ -151,9 +151,6 @@ export default {
yygra:[],
// bwg
bwgra:[],
//
crqt:"daily",
day_num: 0,
week_num: 0,
@ -172,12 +169,11 @@ export default {
// },
mounted() {
//
// this.getDataIn()
this.btgetdata(this.klselt)
//
this.getGcgNumDatas()
//
this.getStat();
// this.getHomeBarData();
this.getInfoDatas();
},
@ -190,6 +186,7 @@ export default {
case 'd': nrq = "daily"; break;
case 'm': nrq = "monthly"; break;
case 'y': nrq = "yearly"; break;
default:nrq="daily";break;
}
//return nrq;
this.getDataIn(nrq)
@ -197,7 +194,6 @@ export default {
//
getDataIn(reqType){
//const reqType = this.crqt
//
btApi.allGroupTimeNum({ 'granularity': reqType }).then(res => {
const kldata = res.data.data.allTimeData

Loading…
Cancel
Save