原始页面
clerkUrl(item) {
if (item.storeCount == 0) return false
// if (item.literatureReadCount == 0 && storeId == 2) return false
// if (item.eventsReadCount == 0 && storeId == 3) return false
// if (item.voidReadCount == 0 && storeId == 5) return false
this.$router.push({
name: 'admin_saleClerk',
query: {
type: 2,
userId: item.userId,
userName: item.userName || ''
}
})
},
要跳转页面用来监听跳转过来的页面
watch:{
$route(){
//跳转到该页面后需要进行的操作
this.$router.go()
}
},