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

1

parent 4b4dd98a
...@@ -40,6 +40,7 @@ export default { ...@@ -40,6 +40,7 @@ export default {
mounted() { mounted() {
this.maxPage = Math.ceil(this.faces.length / 6); this.maxPage = Math.ceil(this.faces.length / 6);
this.init(); this.init();
this.addTime()
}, },
methods: { methods: {
clearTime() { clearTime() {
...@@ -48,7 +49,7 @@ export default { ...@@ -48,7 +49,7 @@ export default {
addTime() { addTime() {
this.timer = setTimeout(() => { this.timer = setTimeout(() => {
this.close(0); this.close(0);
}, 1000 * 5); }, 1000 * 4);
}, },
init() { init() {
if (this.index >= 0 && this.index < this.maxPage) { 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