diff --git a/dist/index.html b/dist/index.html index bc4fa45..4d0f7a1 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1,7 @@ -xm-select
\ No newline at end of file +xm-select
\ No newline at end of file diff --git a/dist/static/2.js b/dist/static/2.js index 605e245..dcdae8c 100644 --- a/dist/static/2.js +++ b/dist/static/2.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{698:function(e,t,n){e.exports=n.p+"static/wx.f391ad4.jpg"},699:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA3gAAADLCAMAAAALBsE6AAAAAXNSR0IArs4c6QAAAFFQTFRF/////wAA/5WVmZOTVFRU/93d/3Fx//Hx//vl/9fX/8nJ8ePkta2t/7W1/1RUz8XF/+fn/Do739PUh4OD+evscnBw/2JiYGBg/xwc/IiKSIn0g0Gw+gAAEgRJREFUeNrtnQt7okoSQBPQdkdBFDQm9///0O16NDSKxpmYmMRzvrubUVBROVY/quin/wHAl/PERwCAeACPId4fAPhynhYA8OUgHgDiASAeAHyqePV6u13XfBoAXyle2CrhJx14sd5cs9t8W9/9GAAmxVtG5/S/5cnmOso4X8/fPwUL+xvq7JR/jhTTNsQt/yxE0GfVk76wp7lwhO+KF85vX74+byefOL0e4sFHxHvZhqcQ/9u+9HeXuw+Lt1hszrVer3nG8zq8bI69+cjzXRDv7KYPHT+AiyetzKcnaW/2d++7JheveHt9loZojDDrzWYt/y+ubV6WizoGr9dlEbZxB/l3FiRUvCJISE3PII+t04lbv6zj3puXNwlhskUCWXwiiSNhCCbz8BJfYRSEJWbaDiJHkJcNfSgMaduiD4n1c/YM4c32k3cxPuIY4rIQLe9OXyAebjqGWvb21/NjkPBdHx8kwL+Jt99XuXjb+Tw2ROvhhC5cPLk7xBuv+q+JiCeSyd7RsHhTTuPt0puadTxTi2KzDrJTKHT/uJ/JlIm3LVTf3g01xQNfFvGK8TNkYcsU6u9Zb+IvgbwXedajsDbsGqyl7OLZMSzN0RTx5BjkJ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AAAAA/kWbFZwDw5fz3H+YBYB7Ao5jX8iEAIB7Ar2dHUxOALh7AQ8B0AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMDT0/8B0p38SAf/3OIAAAAASUVORK5CYII="},701:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this.$createElement,t=this._self._c||e;return t("section",{staticClass:"content element-doc"},[this._m(0),this._m(1),t("p",[this._v("至于能干什么, 就看你们的想象了~~")]),t("demo-block",[t("template",{slot:"source"},[t("element-demo0")],1),t("template",{slot:"highlight"},[t("pre",{pre:!0},[t("code",{pre:!0,attrs:{class:"html"}},[this._v('\n
\n\n <% for (var chunk in htmlWebpackPlugin.files.css) { %> <% } %> diff --git a/docs/mds/ZP02.md b/docs/mds/ZP02.md index 23948ee..405c3f5 100644 --- a/docs/mds/ZP02.md +++ b/docs/mds/ZP02.md @@ -24,37 +24,18 @@ var demo1 = xmSelect.render({ var ele = layui.eleTree.render({ elem: '#ele1', data: [ - { - id: 1, - label: "安徽省", - children: [ - { - id: 2, - label: "马鞍山市", - disabled: true, - children: [ - { - id: 3, - label: "和县", - }, - { - id: 4, - label: "花山区", - } - ] - } - ] - }, - { - id: 5, - label: "河南省", - children: [ - { - id: 6, - label: "郑州市" - } - ] - } + { id: 1, label: "安徽省", children: [ + { id: 2, label: "马鞍山市", disabled: true, children: [ + { id: 3, label: "和县" }, + { id: 4, label: "花山区" } + ]} + ]}, + { id: 5, label: "河南省", children: [ + { id: 6, label: "郑州市" }, + { id: 7, label: "开封市" }, + { id: 8, label: "焦作市" }, + { id: 9, label: "洛阳市" }, + ]} ], showCheckbox: true, defaultExpandAll: true, diff --git a/docs/mds/ZP03.md b/docs/mds/ZP03.md new file mode 100644 index 0000000..c2e4abb --- /dev/null +++ b/docs/mds/ZP03.md @@ -0,0 +1,65 @@ +## 下拉树 + +### layuiTree + +结合 `layui` 的 `tree`, 传送门 + +:::demo +```html + +
+ + +``` +::: diff --git a/docs/plugins/baidu/statistical.js b/docs/plugins/baidu/statistical.js deleted file mode 100644 index 386fc7c..0000000 --- a/docs/plugins/baidu/statistical.js +++ /dev/null @@ -1,7 +0,0 @@ -var _hmt = _hmt || []; -(function() { - var hm = document.createElement("script"); - hm.src = "https://hm.baidu.com/hm.js?758a90d7d534804ddd66137da7c9ee69"; - var s = document.getElementsByTagName("script")[0]; - s.parentNode.insertBefore(hm, s); -})(); \ No newline at end of file diff --git a/docs/plugins/index.js b/docs/plugins/index.js index 68408f5..75f3757 100644 --- a/docs/plugins/index.js +++ b/docs/plugins/index.js @@ -1,3 +1,2 @@ -import './baidu/statistical.js' import './eleTree/eleTree.js' import './eleTree/eleTree.css' \ No newline at end of file diff --git a/docs/router.js b/docs/router.js index 9bd3827..90cc639 100644 --- a/docs/router.js +++ b/docs/router.js @@ -97,7 +97,8 @@ export default [{ component: Component, children: [ { path: '/example-plugin/ZP01', name: '下拉自定义', component: importMd('/ZP01') }, - { path: '/example-plugin/ZP02', name: '下拉树', component: importMd('/ZP02') }, + { path: '/example-plugin/ZP02', name: '下拉树 EleTree', component: importMd('/ZP02') }, + // { path: '/example-plugin/ZP03', name: '下拉树 LayuiTree', component: importMd('/ZP03') }, ] }, { path: '/question', diff --git a/src/components/element/framework.js b/src/components/element/framework.js index d82d5af..236039f 100644 --- a/src/components/element/framework.js +++ b/src/components/element/framework.js @@ -269,7 +269,7 @@ class Framework extends Component{