From 568c77327a15fac32541bc8ba34beaa01df7da7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Sat, 25 Jun 2022 22:32:37 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(notice-bar):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20color=20=E4=B8=8E=20background=20=E7=B1=BB=E5=9E=8B=E8=AD=A6?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/noticeBar/index.vue | 4 ++-- package/component/src/component/page/index.vue | 2 +- package/component/src/component/table/TableRow.vue | 2 +- package/component/src/component/transfer/index.vue | 2 +- .../src/document/zh-CN/components/page.md | 6 ++++-- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/package/component/src/component/noticeBar/index.vue b/package/component/src/component/noticeBar/index.vue index 04ce1f59..c61b73fe 100644 --- a/package/component/src/component/noticeBar/index.vue +++ b/package/component/src/component/noticeBar/index.vue @@ -71,8 +71,8 @@ export interface LayNoticeBarProps { mode?: string; text?: string; textlist?: any[]; - color?: Function; - background?: Function; + color?: string; + background?: string; size?: number | string; height?: number | string; delay?: number; diff --git a/package/component/src/component/page/index.vue b/package/component/src/component/page/index.vue index 19c61388..ef11a1dd 100644 --- a/package/component/src/component/page/index.vue +++ b/package/component/src/component/page/index.vue @@ -157,7 +157,7 @@ watch(currentPage, function () { - + 到第 - + 每页数量:{{limit1}} @@ -250,6 +250,7 @@ export default { const limit = ref(20) const total = ref(100) const showPage = ref(true) + const showSkip = ref(true) const jump = function({ current }) { console.log("当前页:" + current) } @@ -258,7 +259,8 @@ export default { limit, total, jump, - showPage + showPage, + showSkip } } }