2小取最小,2大取最大Math.min(page,0)Math.max(page,pageSize);0<page<=pageSize求三元表達式解決這個問題
nodejs 數(shù)據(jù)庫分頁 page范圍限制
愛偷懶的小碼農(nóng)
2018-08-28 13:12:21