An error was reported when resetting the contents of the form in vue+elementUI

 handleReset () {
        this.$refs.form.resetFields();
        this.form = {
          activityName: "",
          activityStartTime: new Date(this.$moment().startOf("days").valueOf()),
          activityEndTime: "",
          ticketPublishNum: "",
          activityPublish: {
            beforeDay: 3,
            publishTime: "08:00"
          },
          hotelId:this.$store.state.userInfo.hotelId ? this.$store.state.userInfo.hotelId : 0,
          hotelName:this.$store.state.userInfo.belongName,
          activityDes: ""
        };
        this.smsStatus = 1;
        this.selectTicket = [{id: "", name: ""}];
        this.$refs.grade.reset();
        this.isselected = false;
      },

clipboard.png
what is the problem?

Mar.05,2021

format is wrong. It should be the time format. Just print it

.
Menu