计算
<p>{{msg}}</p>
<p>{{msgReverse}}</p>computed: {
msgReverse: function(){
return this.msg.split(' ').reverse().join(' ')
}
}Last updated
Was this helpful?
<p>{{msg}}</p>
<p>{{msgReverse}}</p>computed: {
msgReverse: function(){
return this.msg.split(' ').reverse().join(' ')
}
}Last updated
Was this helpful?
Was this helpful?