From a122238770743952a0f13f9bc8d9c17a9076c6be Mon Sep 17 00:00:00 2001 From: Hsuan Lee Date: Wed, 16 Aug 2017 16:43:12 +0800 Subject: [PATCH] fix: Pagination QuickJumper bug #37 --- src/components/pagination/nz-pagination.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pagination/nz-pagination.component.ts b/src/components/pagination/nz-pagination.component.ts index 1330d61e63d..a55dba0290d 100644 --- a/src/components/pagination/nz-pagination.component.ts +++ b/src/components/pagination/nz-pagination.component.ts @@ -208,7 +208,7 @@ export class NzPaginationComponent { if (value > this._lastIndex || value < this._firstIndex) { return; } - this._current = value; + this._current = Number(value); this._buildIndexes(); };