The time component problem (cancel time) of the Mint Ui framework in the vue project?

clipboard.png
after selecting a time, without clicking OK (click blank or click cancel), the new time values are generated into the pickerValue. How can I just click OK to generate a new time, click blank or cancel or the original time? Thank you!

Mar.22,2021

isn't there a confirmation event


do not bind a value in the component, pass the timestamp directly into the determined event conversion, and then assign it to the field that you store in data, or change a value to another value, and the value will not be assigned all the time

.
    //
    handleConfirm(data){
            // var oDate=new Date(timestamp);
            const y = data.getFullYear()
            let m = data.getMonth() + 1
            m = m < 10 ? '0' + m : m
            let d = data.getDate()
            d = d < 10 ? ('0' + d) : d
            let h = data.getHours()
            h = h < 10 ? ('0' + h) : h
            let ms = data.getMinutes()
            ms = ms < 10 ? ('0' + ms) : ms
            this.sendMsg.appoint_time = y + '-' + m + '-' + d + ' ' + h + ':' + ms + ':' + '00'
            console.log(this.sendMsg.appoint_time)
            return y + ' ' + m + ' ' + d + ' ' + h + ' ' + ms
            
        }

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2f670-481f8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2f670-481f8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?