eaa25889c3
新增自动换行+隐藏图标
1 line
9.8 KiB
JavaScript
1 line
9.8 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{358:function(e,n,a){var t=a(360);"string"==typeof t&&(t=[[e.i,t,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};a(4)(t,i);t.locals&&(e.exports=t.locals)},359:function(e,n,a){"use strict";var t=a(358);a.n(t).a},360:function(e,n,a){(e.exports=a(3)(!1)).push([e.i,".page-changelog {\n padding-bottom: 100px;\n}\n.page-changelog .fr {\n float: right;\n padding: 0;\n}\n.page-changelog .fr.el-button {\n transform: translateY(-3px);\n}\n.page-changelog .fr a {\n display: block;\n padding: 10px 15px;\n color: #333;\n}\n.page-changelog .fr:hover a {\n color: #409EFF;\n}\n.page-changelog .heading {\n font-size: 24px;\n margin-bottom: 60px;\n color: #333;\n}\n.page-changelog .timeline {\n padding: 0;\n padding-bottom: 10px;\n position: relative;\n color: #5e6d82;\n}\n.page-changelog .timeline > li {\n position: relative;\n padding-bottom: 15px;\n list-style: none;\n line-height: 1.8;\n border: 1px solid #ddd;\n border-radius: 4px;\n}\n.page-changelog .timeline > li:not(:last-child) {\n margin-bottom: 50px;\n}\n.page-changelog .timeline ul {\n padding: 30px 30px 15px;\n}\n.page-changelog .timeline ul ul {\n padding: 0;\n padding-top: 5px;\n padding-left: 27px;\n}\n.page-changelog .timeline ul ul li {\n padding-left: 0;\n color: #555;\n word-break: normal;\n}\n.page-changelog .timeline ul ul li::before {\n content: '';\n circle: 4px #fff;\n border: solid 1px #333;\n margin-right: -12px;\n display: inline-block;\n vertical-align: middle;\n}\n.page-changelog .timeline li li {\n font-size: 16px;\n list-style: none;\n padding-left: 20px;\n padding-bottom: 5px;\n color: #333;\n word-break: break-all;\n}\n.page-changelog .timeline li li:before {\n content: '';\n circle: 6px #333;\n transform: translateX(-20px);\n display: inline-block;\n vertical-align: middle;\n}\n.page-changelog .timeline i {\n padding: 0 20px;\n display: inline-block;\n}\n.page-changelog .timeline h3 {\n margin: 0;\n padding: 15px 30px;\n border-bottom: 1px solid #ddd;\n font-size: 20px;\n color: #333;\n font-weight: bold;\n}\n.page-changelog .timeline h3 a {\n opacity: 1;\n font-size: 20px;\n float: none;\n margin-left: 0;\n color: #333;\n}\n.page-changelog .timeline h4 {\n margin: 0;\n margin-bottom: -10px;\n font-size: 18px;\n padding-left: 54px;\n padding-top: 30px;\n font-weight: bold;\n}\n.page-changelog .timeline p {\n margin: 0;\n}\n.page-changelog .timeline em {\n position: absolute;\n right: 30px;\n font-style: normal;\n top: 23px;\n font-size: 16px;\n color: #666;\n}\n",""])},362:function(e,n,a){"use strict";a.r(n);var t=function(){var e=this.$createElement,n=this._self._c||e;return n("div",{staticClass:"page-changelog"},[n("div",{staticClass:"heading"},[n("el-button",{staticClass:"fr"},[n("a",{attrs:{href:"https://gitee.com/maplemei/xm-select",target:"_blank"}},[this._v("Gitee")])]),this._v("\n 更新日志\n ")],1),n("ul",{ref:"timeline",staticClass:"timeline"}),n("change-log",{ref:"changeLog"})],1)};t._withStripped=!0;var i=function(){var e=this.$createElement;this._self._c;return this._m(0)};i._withStripped=!0;var r=a(2),l=Object(r.a)({},i,[function(){var e=this,n=e.$createElement,a=e._self._c||n;return a("section",{staticClass:"content element-doc"},[a("h2",{attrs:{id:"geng-xin-ri-zhi"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#geng-xin-ri-zhi","aria-hidden":"true"}},[e._v("¶")]),e._v(" 更新日志")]),a("h3",{attrs:{id:"1.0.7"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#1.0.7","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.7")]),a("p",[a("em",[e._v("2019-10-16")])]),a("h4",{attrs:{id:"xin-zeng"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#xin-zeng","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新增")]),a("ul",[a("li",[e._v("新增"),a("code",[e._v("autoRow")]),e._v("配置, 可以开启自动换行")]),a("li",[e._v("新增是否显示icon配置, 隐藏图标后将变换背景色显示")])]),a("h3",{attrs:{id:"1.0.6"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#1.0.6","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.6")]),a("p",[a("em",[e._v("2019-10-14")])]),a("h4",{attrs:{id:"xin-zeng-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#xin-zeng-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新增")]),a("ul",[a("li",[e._v("新增"),a("code",[e._v("showCount")]),e._v("配置, 可以控制选项的数量, 提高渲染性能")]),a("li",[e._v("新增分组模式, 可以在选项中使用"),a("code",[e._v("optgroup")]),e._v("或"),a("code",[e._v("children")]),e._v("来开启, 分组时不建议开启分页模式")]),a("li",[e._v("远程搜索中新增"),a("code",[e._v("show")]),e._v("参数, 可以查看当前下拉框是否显示")])]),a("h4",{attrs:{id:"bug-fixes"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),a("ul",[a("li",[e._v("修复工具条中"),a("code",[e._v("全选")]),e._v("和"),a("code",[e._v("清空")]),e._v("还可以操作禁用选项的问题")]),a("li",[e._v("修复远程搜索中"),a("code",[e._v("selected")]),e._v("不回显的问题")])]),a("h3",{attrs:{id:"1.0.5"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#1.0.5","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.5")]),a("p",[a("em",[e._v("2019-10-10")])]),a("h4",{attrs:{id:"bug-fixes-2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),a("ul",[a("li",[e._v("修复本地搜索模式下多次重复触发过滤方法, 优化搜索性能")]),a("li",[e._v("修复选项过多时, 可以使用鼠标进行横向滚动")])]),a("h3",{attrs:{id:"1.0.4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#1.0.4","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.4")]),a("p",[a("em",[e._v("2019-09-27")])]),a("h4",{attrs:{id:"xin-zeng-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#xin-zeng-3","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新增")]),a("ul",[a("li",[e._v("新增多选上限设置, 可以设置多选选中上限")]),a("li",[e._v("新增工具条, 可以全选, 清空, 自定义")]),a("li",[e._v("新增name设置, 可以表单提交, 隐藏input实现, 值为value逗号分隔")]),a("li",[e._v("新增getValue参数, 可以获取不同类型的值")])]),a("h4",{attrs:{id:"bug-fixes-3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes-3","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),a("ul",[a("li",[e._v("修复搜索模式下输入中文不显示的问题")]),a("li",[e._v("修改render不能及时渲染, 需要二次渲染的问题")]),a("li",[e._v("修改IE下输入循环触发input事件的问题, IE 慎入")])]),a("h3",{attrs:{id:"1.0.3"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#1.0.3","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.3")]),a("p",[a("em",[e._v("2019-09-25")])]),a("h4",{attrs:{id:"bug-fixes-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes-4","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),a("ul",[a("li",[e._v("借鉴"),a("a",{attrs:{href:"https://element.eleme.cn/#/zh-CN"}},[e._v("ElementUI")]),e._v("的文档编写方式, 重新编辑使用文档")]),a("li",[e._v("修改on监听时已选中数据不对的问题")]),a("li",[e._v("修改显示模式也支持html方式")]),a("li",[e._v("存在layui时, 同样也能直接使用xmSelect, 不用必须layui.xmSelect")])]),a("h3",{attrs:{id:"1.0.2"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#1.0.2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.2")]),a("p",[a("em",[e._v("2019-09-23")])]),a("h4",{attrs:{id:"bug-fixes-5"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes-5","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),a("ul",[a("li",[e._v("搜索时输入中文延迟后才进行回显")]),a("li",[e._v("远程搜索时, loading状态也能进行输入的问题")]),a("li",[e._v("单选模式下, 前面的图标变成圆形")]),a("li",[e._v("修正Windows下的一些样式错乱, 兼容IE10以上")]),a("li",[e._v("启动分页, 当搜索时, 如果搜索总页码为0, 再次搜索有页码时, 当前页面为0的问题")]),a("li",[e._v("当底部空间不足时, 再次判断顶部空间是否充足, 优化展开方向")])]),a("h3",{attrs:{id:"1.0.1"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#1.0.1","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.1")]),a("p",[a("em",[e._v("2019-09-22")])]),a("h4",{attrs:{id:"xin-zeng-4"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#xin-zeng-4","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新增")]),a("ul",[a("li",[e._v("物理分页配置")]),a("li",[e._v("自定义搜索模式(远程搜索)")]),a("li",[e._v("下拉选高度配置")])]),a("h4",{attrs:{id:"bug-fixes-6"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes-6","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),a("ul",[a("li",[e._v("调整布局为flex布局")]),a("li",[e._v("展开下拉选时, 自动聚焦搜索框")])])])}],!1,null,null,null);l.options.__file="CHANGELOG.md";var o={components:{ChangeLog:l.exports},data:function(){return{count:3}},mounted:function(){var e=this.$refs.changeLog,n=e.$el.children,a=n[1].querySelector("a");a&&a.remove();for(var t=n[1].textContent.trim(),i='<li><h3><a href="javascript:;">'.concat(t,"</a></h3>"),r=n.length,l=2;l<r;l++){var o=n[l];(a=n[l].querySelector("a"))&&"header-anchor"===a.getAttribute("class")&&a.remove(),"H3"!==o.tagName?i+=n[l].outerHTML:(t=n[l].textContent.trim(),i+='</li><li><h3><a href="javascript:;">'.concat(t,"</a></h3>"))}this.$refs.timeline.innerHTML="".concat(i,"</li>"),e.$el.remove()}},s=(a(359),Object(r.a)(o,t,[],!1,null,null,null));s.options.__file="docs/pages/changelog.vue";n.default=s.exports},393:function(e,n,a){var t={"./pages/changelog.vue":362};function i(e){var n=r(e);return a(n)}function r(e){if(!a.o(t,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t[e]}i.keys=function(){return Object.keys(t)},i.resolve=r,e.exports=i,i.id=393}}]); |