Commit 9613393d by 展昭

Merge branch 'dev'

parents a1c4dbf5 ca9bacb5
Showing with 2 additions and 7 deletions
...@@ -477,16 +477,11 @@ export default { ...@@ -477,16 +477,11 @@ export default {
}, },
initMonth() { initMonth() {
const localPerIndex = this.getCurPerIndex; const localPerIndex = this.getCurPerIndex;
localPerIndex=0;
if (localPerIndex && localPerIndex != "undefined") { if (localPerIndex && localPerIndex != "undefined") {
localPerIndex=localPerIndex>this.period.length-1?this.period.length-1:localPerIndex; //localPerIndex=localPerIndex>this.period.length-1?0:localPerIndex;
this.currentPerIndex = localPerIndex; this.currentPerIndex = localPerIndex;
this.currentPerId = this.period[localPerIndex].id; this.currentPerId = this.period[localPerIndex].id;
if(this.currentPerId=='2958927'){
const VConsole = require('vconsole')
const my_console = new VConsole();
}
this.currentPerName = this.period[localPerIndex].name; this.currentPerName = this.period[localPerIndex].name;
this.savePerBeginDate(this.period[localPerIndex].beginDate); this.savePerBeginDate(this.period[localPerIndex].beginDate);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment