(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{358:function(e,a,n){var t=n(360);"string"==typeof t&&(t=[[e.i,t,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};n(4)(t,i);t.locals&&(e.exports=t.locals)},359:function(e,a,n){"use strict";var t=n(358);n.n(t).a},360:function(e,a,n){(e.exports=n(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,a,n){"use strict";n.r(a);var t=function(){var e=this.$createElement,a=this._self._c||e;return a("div",{staticClass:"page-changelog"},[a("div",{staticClass:"heading"},[a("el-button",{staticClass:"fr"},[a("a",{attrs:{href:"https://gitee.com/maplemei/xm-select",target:"_blank"}},[this._v("Gitee")])]),this._v("\n 更新日志\n ")],1),a("ul",{ref:"timeline",staticClass:"timeline"}),a("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=n(2),l=Object(r.a)({},i,[function(){var e=this,a=e.$createElement,n=e._self._c||a;return n("section",{staticClass:"content element-doc"},[n("h2",{attrs:{id:"geng-xin-ri-zhi"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#geng-xin-ri-zhi","aria-hidden":"true"}},[e._v("¶")]),e._v(" 更新日志")]),n("h3",{attrs:{id:"1.0.9"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#1.0.9","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.9")]),n("p",[n("em",[e._v("2019-10-17")])]),n("h4",{attrs:{id:"xin-zeng"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-zeng","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新增")]),n("ul",[n("li",[e._v("新增"),n("code",[e._v("size")]),e._v("尺寸设置, "),n("code",[e._v("large")]),e._v(", "),n("code",[e._v("medium")]),e._v(", "),n("code",[e._v("small")]),e._v(", "),n("code",[e._v("mini")])]),n("li",[e._v("新增"),n("code",[e._v("warning")]),e._v("方法, 可以闪烁边框提示")]),n("li",[e._v("新增搜索完成回调参数, "),n("code",[e._v("list")]),e._v(":当前过滤后的数据")])]),n("h4",{attrs:{id:"bug-fixes"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),n("ul",[n("li",[e._v("修复远程搜索模式下 搜索完成回调错误")])]),n("h3",{attrs:{id:"1.0.8"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#1.0.8","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.8")]),n("p",[n("em",[e._v("2019-10-16")])]),n("h4",{attrs:{id:"jian-rong-ti-shi"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#jian-rong-ti-shi","aria-hidden":"true"}},[e._v("¶")]),e._v(" 兼容提示")]),n("ul",[n("li",[e._v("此版本的on方法结构调整, 升级请注意")])]),n("h4",{attrs:{id:"xin-zeng-2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-zeng-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新增")]),n("ul",[n("li",[e._v("新增分组单击事件 click, 可选值 "),n("code",[e._v("SELECT")]),e._v(", "),n("code",[e._v("CLEAR")]),e._v(", "),n("code",[e._v("AUTO")]),e._v(", "),n("code",[e._v("自定义")])]),n("li",[e._v("新增"),n("code",[e._v("append")]),e._v("方法追加赋值, "),n("code",[e._v("delete")]),e._v("方法删除赋值")]),n("li",[e._v("新增搜索完成回调"),n("code",[e._v("filterDone")])])]),n("h4",{attrs:{id:"bug-fixes-2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes-2","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),n("ul",[n("li",[e._v("修复全选和请空不走on监听的问题")]),n("li",[e._v("修复"),n("code",[e._v("autoRow")]),e._v("模式下, 无选项时的css样式错误")]),n("li",[e._v("修复"),n("code",[e._v("update")]),e._v("后, 下拉框显示状态被重置为隐藏")]),n("li",[e._v("优化"),n("code",[e._v("setValue")]),e._v("方法, 可自行判断下拉框的显示状态")]),n("li",[e._v("修复文档错误, 实例没有"),n("code",[e._v("render")]),e._v("方法")])]),n("h3",{attrs:{id:"1.0.7"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#1.0.7","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.7")]),n("p",[n("em",[e._v("2019-10-16")])]),n("h4",{attrs:{id:"xin-zeng-3"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-zeng-3","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新增")]),n("ul",[n("li",[e._v("新增"),n("code",[e._v("autoRow")]),e._v("配置, 可以开启自动换行")]),n("li",[e._v("新增是否显示icon配置, 隐藏图标后将变换背景色显示")])]),n("h3",{attrs:{id:"1.0.6"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#1.0.6","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.6")]),n("p",[n("em",[e._v("2019-10-14")])]),n("h4",{attrs:{id:"xin-zeng-4"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-zeng-4","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新增")]),n("ul",[n("li",[e._v("新增"),n("code",[e._v("showCount")]),e._v("配置, 可以控制选项的数量, 提高渲染性能")]),n("li",[e._v("新增分组模式, 可以在选项中使用"),n("code",[e._v("optgroup")]),e._v("或"),n("code",[e._v("children")]),e._v("来开启, 分组时不建议开启分页模式")]),n("li",[e._v("远程搜索中新增"),n("code",[e._v("show")]),e._v("参数, 可以查看当前下拉框是否显示")])]),n("h4",{attrs:{id:"bug-fixes-3"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes-3","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),n("ul",[n("li",[e._v("修复工具条中"),n("code",[e._v("全选")]),e._v("和"),n("code",[e._v("清空")]),e._v("还可以操作禁用选项的问题")]),n("li",[e._v("修复远程搜索中"),n("code",[e._v("selected")]),e._v("不回显的问题")])]),n("h3",{attrs:{id:"1.0.5"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#1.0.5","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.5")]),n("p",[n("em",[e._v("2019-10-10")])]),n("h4",{attrs:{id:"bug-fixes-4"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes-4","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),n("ul",[n("li",[e._v("修复本地搜索模式下多次重复触发过滤方法, 优化搜索性能")]),n("li",[e._v("修复选项过多时, 可以使用鼠标进行横向滚动")])]),n("h3",{attrs:{id:"1.0.4"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#1.0.4","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.4")]),n("p",[n("em",[e._v("2019-09-27")])]),n("h4",{attrs:{id:"xin-zeng-5"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-zeng-5","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新增")]),n("ul",[n("li",[e._v("新增多选上限设置, 可以设置多选选中上限")]),n("li",[e._v("新增工具条, 可以全选, 清空, 自定义")]),n("li",[e._v("新增name设置, 可以表单提交, 隐藏input实现, 值为value逗号分隔")]),n("li",[e._v("新增getValue参数, 可以获取不同类型的值")])]),n("h4",{attrs:{id:"bug-fixes-5"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes-5","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),n("ul",[n("li",[e._v("修复搜索模式下输入中文不显示的问题")]),n("li",[e._v("修改render不能及时渲染, 需要二次渲染的问题")]),n("li",[e._v("修改IE下输入循环触发input事件的问题, IE 慎入")])]),n("h3",{attrs:{id:"1.0.3"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#1.0.3","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.3")]),n("p",[n("em",[e._v("2019-09-25")])]),n("h4",{attrs:{id:"bug-fixes-6"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes-6","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),n("ul",[n("li",[e._v("借鉴"),n("a",{attrs:{href:"https://element.eleme.cn/#/zh-CN"}},[e._v("ElementUI")]),e._v("的文档编写方式, 重新编辑使用文档")]),n("li",[e._v("修改on监听时已选中数据不对的问题")]),n("li",[e._v("修改显示模式也支持html方式")]),n("li",[e._v("存在layui时, 同样也能直接使用xmSelect, 不用必须layui.xmSelect")])]),n("h3",{attrs:{id:"1.0.2"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#1.0.2","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.2")]),n("p",[n("em",[e._v("2019-09-23")])]),n("h4",{attrs:{id:"bug-fixes-7"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes-7","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),n("ul",[n("li",[e._v("搜索时输入中文延迟后才进行回显")]),n("li",[e._v("远程搜索时, loading状态也能进行输入的问题")]),n("li",[e._v("单选模式下, 前面的图标变成圆形")]),n("li",[e._v("修正Windows下的一些样式错乱, 兼容IE10以上")]),n("li",[e._v("启动分页, 当搜索时, 如果搜索总页码为0, 再次搜索有页码时, 当前页面为0的问题")]),n("li",[e._v("当底部空间不足时, 再次判断顶部空间是否充足, 优化展开方向")])]),n("h3",{attrs:{id:"1.0.1"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#1.0.1","aria-hidden":"true"}},[e._v("¶")]),e._v(" 1.0.1")]),n("p",[n("em",[e._v("2019-09-22")])]),n("h4",{attrs:{id:"xin-zeng-6"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#xin-zeng-6","aria-hidden":"true"}},[e._v("¶")]),e._v(" 新增")]),n("ul",[n("li",[e._v("物理分页配置")]),n("li",[e._v("自定义搜索模式(远程搜索)")]),n("li",[e._v("下拉选高度配置")])]),n("h4",{attrs:{id:"bug-fixes-8"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#bug-fixes-8","aria-hidden":"true"}},[e._v("¶")]),e._v(" Bug fixes")]),n("ul",[n("li",[e._v("调整布局为flex布局")]),n("li",[e._v("展开下拉选时, 自动聚焦搜索框")])])])}],!1,null,null,null);l.options.__file="CHANGELOG.md";var s={components:{ChangeLog:l.exports},data:function(){return{count:3}},mounted:function(){var e=this.$refs.changeLog,a=e.$el.children,n=a[1].querySelector("a");n&&n.remove();for(var t=a[1].textContent.trim(),i='
  • '.concat(t,"

    "),r=a.length,l=2;l
  • '.concat(t,"

    "))}this.$refs.timeline.innerHTML="".concat(i,"
  • "),e.$el.remove()}},o=(n(359),Object(r.a)(s,t,[],!1,null,null,null));o.options.__file="docs/pages/changelog.vue";a.default=o.exports},398:function(e,a,n){var t={"./pages/changelog.vue":362};function i(e){var a=r(e);return n(a)}function r(e){if(!n.o(t,e)){var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}return t[e]}i.keys=function(){return Object.keys(t)},i.resolve=r,e.exports=i,i.id=398}}]);