1 get getCauseLabel1() {
2     return (id: number) => (id ? CauseModule.getPathByValue(id).map(item => item.cause_name) : []);
3   }
4   get getCauseLabel() {
5     var a= function(id: number) { return (id ? CauseModule.getPathByValue(id).map(item => item.cause_name) : [])};
6     return a
7   }

 

参考:https://blog.csdn.net/qq_39990827/article/details/90716868

相关文章:

  • 2022-02-08
  • 2021-09-01
  • 2021-11-21
  • 2022-01-09
  • 2021-11-22
  • 2022-02-19
  • 2021-04-29
  • 2022-12-23
猜你喜欢
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
  • 2022-01-31
  • 2022-12-23
相关资源
相似解决方案