How can I remove all string spaces in AngularJS binding?

前端 未结 7 934
南方客
南方客 2020-12-29 06:09

I try to do this:

but its not working. \"mystring\" is an object on

相关标签:
7条回答
  • 2020-12-29 07:11

    You can replace all spaces by blank by using replace():

    .replace(" ","")
    
    0 讨论(0)
提交回复
热议问题