problem description
I backfill in the date in a piece of data (framed in red) (framed in green), and click on the first piece of data to set the validity period of the invitation code, but I can"t backfill it by clicking on the second piece of data. But the corresponding data can be printed out
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
<el-button v-if="powerSet" :disabled="new Date(scope.row.validPeriod).getTime() < new Date().getTime()" class="btn-info" @click="examineSet(scope)" type="primary" size="mini"></el-button>
//
examineSet(scope) {
console.log("new Date(scope.row.startTime)",new Date(scope.row.startTime));
this.showDetailSet = true;
this.setInviteNum = scope.row.serialCode;
this.setInviteId = scope.row.id;
this.invitePeopleSet = scope.row.invitationsNumber;
//validitySet
this.validitySet[0] = new Date(scope.row.startTime);
this.validitySet[1] = new Date(scope.row.validPeriod);
console.log("",this.validitySet);
},
what result do you expect? What is the error message actually seen?
when backfilling for the second time, it is normal data