Commit 80a26155 authored by 华国豪's avatar 华国豪 🙄

1

parent 4b4dd98a
......@@ -40,6 +40,7 @@ export default {
mounted() {
this.maxPage = Math.ceil(this.faces.length / 6);
this.init();
this.addTime()
},
methods: {
clearTime() {
......@@ -48,7 +49,7 @@ export default {
addTime() {
this.timer = setTimeout(() => {
this.close(0);
}, 1000 * 5);
}, 1000 * 4);
},
init() {
if (this.index >= 0 && this.index < this.maxPage) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment