data():{
return{
obj:{
value:'123'
}
}
}
computed:{
newValue:function(){
return this.obj.value+'111'
}
}
在页面中 就可以使用{{newValue}}进行使用
data():{
return{
obj:{
value:'123'
}
}
}
computed:{
newValue:function(){
return this.obj.value+'111'
}
}
在页面中 就可以使用{{newValue}}进行使用