摘要: computed 定义:根据其他属性被计算出来的值 computed :{ [key: string]: Function | { get: Function, set: Function } } 是个对象,键名是字符串,键值可以是①仅读取:函数形式,返回计算出的值(也就是getter)②读取和设置 阅读全文
posted @ 2020-06-19 19:14 过程是风景 阅读(131) 评论(0) 推荐(0)