|
|
@@ -89,15 +89,17 @@
|
|
|
point:''
|
|
|
}
|
|
|
},
|
|
|
- onLoad(options) {
|
|
|
- if(options.point){
|
|
|
- this.point = options.point
|
|
|
- }
|
|
|
+ onReady(){
|
|
|
let m = new Date().getMonth() + 1
|
|
|
let y = new Date().getFullYear()
|
|
|
let m1 = m<10? ("0" + m) : m
|
|
|
this.defaultTime = y + '-' + m1
|
|
|
},
|
|
|
+ onLoad(options) {
|
|
|
+ if(options.point){
|
|
|
+ this.point = options.point
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
confirmTime(e){
|
|
|
this.defaultTime = e.year + '-' +e.month
|