Showing
1 changed file
with
4 additions
and
4 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-19 14:11:06 | 2 | * @Date: 2022-09-19 14:11:06 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2022-10-31 19:20:15 | 4 | + * @LastEditTime: 2022-11-01 16:00:09 |
| 5 | * @FilePath: /swx/src/pages/myCreateActivity/index.vue | 5 | * @FilePath: /swx/src/pages/myCreateActivity/index.vue |
| 6 | * @Description: 创建的活动页面 | 6 | * @Description: 创建的活动页面 |
| 7 | --> | 7 | --> |
| ... | @@ -264,17 +264,17 @@ export default { | ... | @@ -264,17 +264,17 @@ export default { |
| 264 | // '一个月之内', '三个月之内', '一年之内' | 264 | // '一个月之内', '三个月之内', '一年之内' |
| 265 | let yearMonthDay = ''; | 265 | let yearMonthDay = ''; |
| 266 | if (this.filter_time === '一个月之内') { | 266 | if (this.filter_time === '一个月之内') { |
| 267 | - yearMonthDay = moment(this.server_time).subtract(1, 'month'); | 267 | + yearMonthDay = moment(this.server_time).subtract(1, 'months'); |
| 268 | this.defaultIndex = 1; | 268 | this.defaultIndex = 1; |
| 269 | this.status_type = '一个月之内'; | 269 | this.status_type = '一个月之内'; |
| 270 | } | 270 | } |
| 271 | if (this.filter_time === '三个月之内') { | 271 | if (this.filter_time === '三个月之内') { |
| 272 | - yearMonthDay = moment(this.server_time).subtract(3, 'month'); | 272 | + yearMonthDay = moment(this.server_time).subtract(3, 'months'); |
| 273 | this.defaultIndex = 2; | 273 | this.defaultIndex = 2; |
| 274 | this.status_type = '三个月之内'; | 274 | this.status_type = '三个月之内'; |
| 275 | } | 275 | } |
| 276 | if (this.filter_time === '一年之内') { | 276 | if (this.filter_time === '一年之内') { |
| 277 | - yearMonthDay = moment(this.server_time).subtract(1, 'year'); | 277 | + yearMonthDay = moment(this.server_time).subtract(1, 'years'); |
| 278 | this.defaultIndex = 3; | 278 | this.defaultIndex = 3; |
| 279 | this.status_type = '一年之内'; | 279 | this.status_type = '一年之内'; |
| 280 | } | 280 | } | ... | ... |
-
Please register or login to post a comment