Web前端vue必做笔记之一:组合api-计算属性 <template> <h1>{ {number}}</h1> </template> <script> //先把computed引入出来 import { computed} from 'vue' export default { setup(){ //计算 const nu