How to return value inside of subscribe?

后端 未结 0 1402
耶瑟儿~
耶瑟儿~ 2020-12-04 13:51

I have the following method, the value inside subscribe is correct, but outside of the subscribe scope, it is blank.

getTranslation(text: string): string {
           


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