Skip to content

useComputed 带参数的计算属性 ​

使用场景 ​

  • 表格中需要单行计算耗时的总价

Demo ​

API ​

参数说明类型默认值版本
fn传递参数(...args: any) => any-