ReactNative动态字符串

2017-09-11  本文已影响32人  Oo晨晨oO
// 字符串中嵌入变量
var name = "Bob", time = "today";
`Hello ${name}, how are you ${time}?`
上一篇下一篇

猜你喜欢

热点阅读