build docs

This commit is contained in:
cookfront
2017-03-31 10:12:54 +08:00
parent defec4a4a3
commit ea12a0cddd
8 changed files with 61 additions and 55 deletions

View File

@@ -60,9 +60,9 @@ export default {
type: 'success',
message: leftSec.toString()
});
window.setInterval(() => {
const id = window.setInterval(() => {
if (leftSec <= 1) {
window.clearInterval();
window.clearInterval(id);
toast.message = '跳转中...'
return;
}