简体   繁体   中英

Update Object Value In Handlebars

I have one java script object which is iterating through handlebars. When I write {{this.prop}} this shows me "/bla/bla".

I want to update this property so that when I use {{this.prop}} it should return /alpha/bla/bla. I am looking for client-side manipulation. How can I do the same?

Thanks,

尝试使用: src="'/alpha{{this.prop}}"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM