this.currentMarket.name = 'BTC/USDT';
this.currentMarket.name = this.currentMarket.name.split('/')
(2) ["BTC", "USDT"]
0:"BTC"
1:"USDT"
length:2
proto:Array(0)
this.currentMarket.name = 'BTC/USDT';
this.currentMarket.name = this.currentMarket.name.split('/')
(2) ["BTC", "USDT"]
0:"BTC"
1:"USDT"
length:2
proto:Array(0)
本文标题:VUE截取字符串split('/')[0]
本文链接:https://www.haomeiwen.com/subject/ecdtwftx.html
网友评论