Merge pull request #196 from 122177638/develop

fix: 修复pagation is undefined
This commit is contained in:
reco_luan 2020-06-09 19:54:55 +08:00 committed by GitHub
commit 6c39238b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ const ko = {
}
export default function pagationLocales (ctx) {
const { $lang, $recoLocales: { pagation }} = ctx
const { $lang, $recoLocales: { pagation } = {} } = ctx
if (pagation) {
return pagation
}