Cant get access to 'this' object by dynamicly string

前端 未结 0 1096
野的像风
野的像风 2021-02-10 09:56

i have some method in my Nuxt + TS App. I try to do some function `

nextPage(paginationName: string): void {
      this[`${paginationName}Data`].pagination
               


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题