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 } } }