📅  最后修改于: 2022-03-11 14:55:29.233000             🧑  作者: Mango
// Credit: https://stackoverflow.com/questions/47484525/operator-cannot-be-applied-to-types-number-and-1
you can try adding the unary operator + like,
CurrentPage: +this.paging.PageIndex + 1
which will also work in your case.
Hope this helps!