From 0e596ef9f23f93b687447a8ebcd41c47b93d5193 Mon Sep 17 00:00:00 2001 From: Treecat Date: Wed, 19 Apr 2023 09:55:13 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-14316=20chore:=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/base/pager/pager.js | 7 ++++--- packages/fineui/src/case/pager/pager.detail.js | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/fineui/src/base/pager/pager.js b/packages/fineui/src/base/pager/pager.js index 61baf07e1..7858ac323 100644 --- a/packages/fineui/src/base/pager/pager.js +++ b/packages/fineui/src/base/pager/pager.js @@ -13,7 +13,8 @@ import { Controller, Events, MIN, - MAX + MAX, + i18nText } from "@/core"; import { Label } from "../single"; import { ButtonGroup } from "../combination"; @@ -54,8 +55,8 @@ export class Pager extends Widget { jump: emptyFn, // 分页的回调函数 first: false, // 是否显示首页 last: false, // 是否显示尾页 - prev: BI.i18nText("BI-Previous_Page"), - next: BI.i18nText("BI-Next_Page"), + prev: i18nText("BI-Previous_Page"), + next: i18nText("BI-Next_Page"), firstPage: 1, lastPage: () => diff --git a/packages/fineui/src/case/pager/pager.detail.js b/packages/fineui/src/case/pager/pager.detail.js index a99f3be76..5da61c224 100644 --- a/packages/fineui/src/case/pager/pager.detail.js +++ b/packages/fineui/src/case/pager/pager.detail.js @@ -12,7 +12,8 @@ import { Controller, Events, MIN, - MAX + MAX, + i18nText } from "@/core"; import { Label, ButtonGroup } from "@/base"; @@ -52,8 +53,8 @@ export class DetailPager extends Widget { first: false, // 是否显示首页 last: false, // 是否显示尾页 - prev: BI.i18nText("BI-Previous_Page"), - next: BI.i18nText("BI-Next_Page"), + prev: i18nText("BI-Previous_Page"), + next: i18nText("BI-Next_Page"), firstPage: 1, lastPage() {