notice.vue 472 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 <template> <i-button @click="pop">Pop</i-button> </template> <script> export default { methods: { pop () { for (let i = 0; i < 6; i++) { setTimeout(() => { this.$Notice.open({ title: 'test', duration: 1.5 + i }); }, i * 500); } } } } </script>