|
|
@@ -915,9 +915,9 @@ export default {
|
|
|
message: '加载中...',
|
|
|
forbidClick: true
|
|
|
});
|
|
|
-
|
|
|
- let date2 = this.dayjs().add(date, 'month');
|
|
|
- let date3 = date2.diff(this.dayjs(), 'day');
|
|
|
+ let date1 = this.dayjs().startOf('day');
|
|
|
+ let date2 = date1.add(date, 'month');
|
|
|
+ let date3 = date2.diff(date1, 'day');
|
|
|
this.$http
|
|
|
.post('/asset/lockAsset?assetId=' + this.assetId + '&duration=' + 'P' + date3 + 'D')
|
|
|
.then(() => {
|