摘要: getter getter方法,用于返回当前computed属性的属性值 一般使用普通函数来作为回调函数 computed: { site: { // getter get: function () { console.log(this); // VueComponent {_uid: 4, _is 阅读全文
posted @ 2021-04-16 16:31 调用Function 阅读(1000) 评论(0) 推荐(0) 编辑