yunzhiclub / ng

angular开源库
2 stars 0 forks source link

在RouterStub增加可写、可读的url属性 #35

Open teacherpan opened 3 years ago

teacherpan commented 3 years ago

此时对应如下需求:

    const urlSegment = this.router.url.split('/');

此时会报url为undefined的错误