总结vue自官方文档:https://cn.vuejs.org/v2/guide/computed.html 文字总结: 1先看逻辑,复杂用watch,不复杂–>2 2看是几对几,按上图选用 3实在不行用methord