关于前端返回按钮 睡梦程序员 2022-02-09 343 阅读1分钟 window.history.length > 1 ? this.$router.go(-1) : this.$router.push('/')