<template>
<div>
姓{{f}}, 名{{m}}, 全名叫{{qm}}
</div>
</template>
<script>
export default {
name:'quanming',
data () {
return {
f:'张',
m:'明越',
}
},
computed: {
fm:function(){
return this.f +this.m
}
}
}
</script>
<template>
<div>
姓{{f}}, 名{{m}}, 全名叫{{qm}}
</div>
</template>
<script>
export default {
name:'quanming',
data () {
return {
f:'张',
m:'明越',
}
},
computed: {
fm:function(){
return this.f +this.m
}
}
}
</script>