How to return values from inside subscribe in angular?

前端 未结 0 463
渐次进展
渐次进展 2021-02-02 14:53

I have function that fetches data from api. I need to return the data to a variable declared inside the in class. Below is the the function

getColumns(){

          


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