Commit a811ab06 by huaying

Merge branch 'feature/8月-奥莱定制' into dev

parents 38a170d2 1fb26179
......@@ -3,7 +3,7 @@ export default {
data() {
return {
loading: false,
dateTime: [],
dateTime: [Date.now() - 30 * 24 * 60 * 60 * 1000, Date.now()],
defaultAvatar: require('../../assets/img/head_default.png'),
formatDateTimeByType,
tableData: [],
......@@ -31,6 +31,10 @@ export default {
}
};
},
mounted() {
this.dateTime = [`${formatDateTimeByType(this.dateTime[0], 'yyyy-MM-dd')} 00:00:00`, `${formatDateTimeByType(this.dateTime[1], 'yyyy-MM-dd')} 23:59:59`];
console.log(this.dateTime, 'datadffa');
},
methods: {
getDateRange(setEndDate) {
const start = new Date();
......
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 to comment