File tree Expand file tree Collapse file tree 4 files changed +21
-13
lines changed Expand file tree Collapse file tree 4 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @layui/layui-vue" ,
3
- "version" : " 1.9.1-alpha.2 " ,
3
+ "version" : " 1.9.1" ,
4
4
"author" : " 就眠儀式" ,
5
5
"license" : " MIT" ,
6
6
"description" : " a component library for Vue 3 base on layui-vue" ,
Original file line number Diff line number Diff line change @@ -161,15 +161,18 @@ watch(
161
161
<slot v-if =" slots.prev" name =" prev" ></slot >
162
162
<template v-else >{{ t("page.previous") }}</template >
163
163
</a >
164
+ <!-- 页码列表 -->
164
165
<template v-if =" showPage " >
165
166
<template v-for =" index of totalPage " :key =" index " >
167
+ <!-- 选中项 -->
166
168
<span v-if =" index === currentPage" class =" layui-laypage-curr" >
167
169
<em
168
170
class =" layui-laypage-em"
169
171
:class =" [theme ? 'layui-bg-' + theme : '']"
170
172
></em >
171
173
<em >{{ index }}</em >
172
174
</span >
175
+ <!-- 普通项 -->
173
176
<a
174
177
v-else
175
178
href =" javascript:;"
@@ -178,6 +181,17 @@ watch(
178
181
>{{ index }}</a
179
182
>
180
183
</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 >
181
195
</template >
182
196
<a
183
197
href =" javascript:;"
Original file line number Diff line number Diff line change 17
17
<ul>
18
18
<a name="1-9-1"></a>
19
19
<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>
21
21
<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>
26
27
</ul>
27
28
</li>
28
29
</ul>
Original file line number Diff line number Diff line change @@ -142,13 +142,6 @@ const menus = [
142
142
id : 1 ,
143
143
title : "表单" ,
144
144
children : [
145
- {
146
- id : 36 ,
147
- title : "自动完成" ,
148
- flag : "update" ,
149
- subTitle : "auto-complete" ,
150
- path : "/zh-CN/components/autoComplete" ,
151
- } ,
152
145
{
153
146
id : 36 ,
154
147
title : "开关" ,
You can’t perform that action at this time.
0 commit comments