vue获取路由

protected get rehearseId(): number
{
    return parseInt(this.$route.query.rehearseId || "");
}

  

猜你喜欢

转载自www.cnblogs.com/JoanLin-workNotes/p/10935299.html