Vue 中的 computed 和 methods时间:2023-03-09 09:39:46 Vue 中的 computed 和 methods 使用 computed 性能会更好。 如果你不希望缓存,可以使用 methods 属性。