@@ -33,6 +33,12 @@ export default {
window.addEventListener('beforeunload', () => {
sessionStorage.setItem('store', JSON.stringify(this.$store.state))
})
+
+ this.$message.config({
+ top: `100px`,
+ duration: 2,
+ maxCount: 3
+ })
}
</script>