vue-element簡單封裝驗證倒數,調用,清除

function getCodetimer(that,timer,show,count) { that.show = true; const TIME_COUNT = 60; if (!that.timer) { that.count = TIME_COUNT; that.show = true; that.timer = setInterval(() => { console.log(「1」)
相關文章
相關標籤/搜索