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 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" ,
Original file line number Diff line number Diff 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:;"
Original file line number Diff line number Diff line change 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>
Original file line number Diff line number Diff 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 : "开关" ,
You can’t perform that action at this time.
0 commit comments