|
@@ -160,13 +160,13 @@ export default {
|
|
|
let timestamp = new Date(val).valueOf();
|
|
|
switch (this.params.reportType) {
|
|
|
case 0:
|
|
|
- this.currentDate = this.$u.timeFormat(timestamp, 'yyyy年mm月dd日');
|
|
|
+ this.currentDate = uni.$u.timeFormat(timestamp, 'yyyy年mm月dd日');
|
|
|
break;
|
|
|
case 1:
|
|
|
- this.currentDate = this.$u.timeFormat(timestamp, 'yyyy年mm月');
|
|
|
+ this.currentDate = uni.$u.timeFormat(timestamp, 'yyyy年mm月');
|
|
|
break;
|
|
|
case 2:
|
|
|
- this.currentDate = this.$u.timeFormat(timestamp, 'yyyy年');
|
|
|
+ this.currentDate = uni.$u.timeFormat(timestamp, 'yyyy年');
|
|
|
break;
|
|
|
}
|
|
|
}
|