Skip to content

Commit abb1402

Browse files
committed
✨(component): 发布 1.9.1 版本
1 parent c04b475 commit abb1402

File tree

4 files changed

+21
-13
lines changed

4 files changed

+21
-13
lines changed

package/component/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@layui/layui-vue",
3-
"version": "1.9.1-alpha.2",
3+
"version": "1.9.1",
44
"author": "就眠儀式",
55
"license": "MIT",
66
"description": "a component library for Vue 3 base on layui-vue",

package/component/src/component/page/index.vue

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,18 @@ watch(
161161
<slot v-if="slots.prev" name="prev"></slot>
162162
<template v-else>{{ t("page.previous") }}</template>
163163
</a>
164+
<!-- 页码列表 -->
164165
<template v-if="showPage">
165166
<template v-for="index of totalPage" :key="index">
167+
<!-- 选中项 -->
166168
<span v-if="index === currentPage" class="layui-laypage-curr">
167169
<em
168170
class="layui-laypage-em"
169171
:class="[theme ? 'layui-bg-' + theme : '']"
170172
></em>
171173
<em>{{ index }}</em>
172174
</span>
175+
<!-- 普通项 -->
173176
<a
174177
v-else
175178
href="javascript:;"
@@ -178,6 +181,17 @@ watch(
178181
>{{ index }}</a
179182
>
180183
</template>
184+
<!-- 尾部页 -->
185+
<template v-if="totalPage[totalPage.length - 1] != maxPage">
186+
<a class="layui-laypage-spr">...</a>
187+
<a
188+
href="javascript:;"
189+
class="layui-laypage-last"
190+
@click="jump(maxPage)"
191+
>
192+
{{ maxPage }}
193+
</a>
194+
</template>
181195
</template>
182196
<a
183197
href="javascript:;"

package/document-component/src/document/zh-CN/guide/changelog.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
<ul>
1818
<a name="1-9-1"></a>
1919
<li>
20-
<h3>1.9.1 <span class="layui-badge-rim">2023-03-08</span></h3>
20+
<h3>1.9.1 <span class="layui-badge-rim">2023-03-09</span></h3>
2121
<ul>
22-
<li>[修复] table 组件 columns 中 type 属性为 number 的列,不会被导出的问题。</li>
23-
<li>[修复] table 组件导出功能,如果匹配不到字段不创建列结构,导致 excel 整体错位的问题。</li>
24-
<li>[修复] table 组件 columns 中包含 children 属性的 column 设置 fixed 属性不生效的问题。</li>
25-
<li>[优化] table 组件 columns 中 type 属性为 checkbox 或 radio 的列,不再被导出。</li>
22+
<li>[新增] page 组件 showPage 属性开启时, 显示最后一页直达功能,从而改善易用性。<a href="https://gitee.com/layui/layui-vue/issues/I69ZW6">#I69ZW6</a></li>
23+
<li>[修复] table 组件 columns 中 type 属性为 number 的列,不会被导出的问题。<a href="https://gitee.com/layui/layui-vue/issues/I6KXVD">#I6KXVD</a></li>
24+
<li>[修复] table 组件导出功能,如果匹配不到字段不创建列结构,导致 excel 整体错位的问题。<a href="https://gitee.com/layui/layui-vue/issues/I6KXVD">#I6KXVD</a></li>
25+
<li>[修复] table 组件 columns 中包含 children 属性的 column 设置 fixed 属性不生效的问题。<a href="https://gitee.com/layui/layui-vue/issues/I6L4AY">#I6L4AY</a></li>
26+
<li>[优化] table 组件 columns 中 type 属性为 checkbox 或 radio 的列,不再被导出。<a href="https://gitee.com/layui/layui-vue/issues/I6KXVD">#I6KXVD</a></li>
2627
</ul>
2728
</li>
2829
</ul>

package/document-component/src/view/utils/menus.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,6 @@ const menus = [
142142
id: 1,
143143
title: "表单",
144144
children: [
145-
{
146-
id: 36,
147-
title: "自动完成",
148-
flag: "update",
149-
subTitle: "auto-complete",
150-
path: "/zh-CN/components/autoComplete",
151-
},
152145
{
153146
id: 36,
154147
title: "开关",

0 commit comments

Comments
 (0)