js实现倒计时功能

setInterval(function () {
  that.showAlert = 0;
}, 1000);

你可能感兴趣的:(前端,前端,javascript,开发语言)