Vue中向计算属性传递参数

{{cacheSome('a')}}

cacheSome () {
  let _now = Date.now();
  return function (a) {
    return _now + 'a'
  }
}

 

posted @ 2020-09-02 22:06  haha-uu  阅读(4345)  评论(0编辑  收藏  举报