Getting current directory in angular component

后端 未结 0 870
终归单人心
终归单人心 2020-12-07 13:14

I want to get current path in my angular component but upto a specifies folder. My code is as follows

  var loc = window.location.pathname;

T

相关标签:
回答
  • 消灭零回复
提交回复
热议问题