src/components/foot.vue
@@ -48,6 +48,12 @@ }, methods: { goRouter(url, index) { if(index==3||index==4){ if(window.localStorage.getItem('USERTOKEN')==""||window.localStorage.getItem('USERTOKEN')==null||window.localStorage.getItem('USERTOKEN')==undefined){ this.$emit('close') return; } } this.touch = index setTimeout(() => { this.touch = 0