Vue中向计算属性传递参数

{{cacheSome('a')}}

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

记录自己的采坑之路,需要时方便查找
原文地址:https://www.cnblogs.com/hahahakc/p/13604759.html