vue2的方式写computed: 代码片段: data() { return { num1: 0, num2: 0, }; }, computed: { result() { return parseInt(th