vue监听接口状态
data () { return { time: false // 判断 } }, methods: { dinshi () { if (this.time === true) {//判断是否超时 console.log('超时') this.$router.push({//跳转页面 path: `/error` }) } else { console.log('没超') } } }, created () { ax
下载地址
用户评论