会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
FunctionKang
博客园
首页
新随笔
联系
订阅
管理
2021年4月16日
computed中get和set方法
摘要: 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)
编辑
公告