(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c73de"],{"507d":function(s,t,a){"use strict";a.r(t);var e=function(){var s=this,t=s.$createElement;s._self._c;return s._m(0)},l=[function(){var s=this,t=s.$createElement,a=s._self._c||t;return a("section",[a("h2",[s._v("权限树组件")]),a("h3",[s._v("参数")]),a("h4",[s._v("Object object")]),a("table",[a("thead",[a("tr",[a("th",[s._v("属性")]),a("th",[s._v("类型")]),a("th",[s._v("默认值")]),a("th",[s._v("必填")]),a("th",[s._v("说明")])])]),a("tbody",[a("tr",[a("td",[s._v("authlist")]),a("td",[s._v("array")]),a("td",[s._v("[ ]")]),a("td",[s._v("是")]),a("td",[s._v("权限树的数据")])]),a("tr",[a("td",[s._v("show")]),a("td",[s._v("boolean")]),a("td",[s._v("false")]),a("td",[s._v("是")]),a("td",[s._v("是否显示权限树，默认不显示")])]),a("tr",[a("td",[s._v("getSelectedRole")]),a("td",[s._v("function")]),a("td"),a("td",[s._v("否")]),a("td",[s._v("确认选择的回调函数，有两个参数")])]),a("tr",[a("td",[s._v("closeAuthTree")]),a("td",[s._v("function")]),a("td"),a("td",[s._v("否")]),a("td",[s._v("点击遮罩关闭权限树的回调函数")])])])]),a("h2",[s._v("组件调用方式")]),a("pre",{pre:!0},[a("code",{pre:!0,attrs:{"v-pre":"",class:"language-html"}},[a("span",{pre:!0,attrs:{class:"hljs-tag"}},[s._v("<"),a("span",{pre:!0,attrs:{class:"hljs-name"}},[s._v("AuthTree")]),s._v("\n  "),a("span",{pre:!0,attrs:{class:"hljs-attr"}},[s._v(":authlist")]),s._v("="),a("span",{pre:!0,attrs:{class:"hljs-string"}},[s._v('"treeList"')]),s._v("\n  "),a("span",{pre:!0,attrs:{class:"hljs-attr"}},[s._v(":show.sync")]),s._v("="),a("span",{pre:!0,attrs:{class:"hljs-string"}},[s._v('"authShow"')]),s._v("\n  "),a("span",{pre:!0,attrs:{class:"hljs-attr"}},[s._v("@getSelectedRole")]),s._v("="),a("span",{pre:!0,attrs:{class:"hljs-string"}},[s._v('"getRoleVaule"')]),s._v("\n  "),a("span",{pre:!0,attrs:{class:"hljs-attr"}},[s._v("@closeAuthTree")]),s._v("="),a("span",{pre:!0,attrs:{class:"hljs-string"}},[s._v('"closeTree"')]),s._v("\n>")]),a("span",{pre:!0,attrs:{class:"hljs-tag"}},[s._v("</"),a("span",{pre:!0,attrs:{class:"hljs-name"}},[s._v("AuthTree")]),s._v(">")]),s._v("\n")])]),a("pre",{pre:!0},[a("code",{pre:!0,attrs:{"v-pre":"",class:"language-js"}},[a("span",{pre:!0,attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\ndata:{\n  "),a("span",{pre:!0,attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n  authlist: []\n  show:"),a("span",{pre:!0,attrs:{class:"hljs-literal"}},[s._v("false")]),s._v(",\n  "),a("span",{pre:!0,attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\n}\n"),a("span",{pre:!0,attrs:{class:"hljs-comment"}},[s._v("// ...")]),s._v("\nmethods: {\n    getRoleVaule(val,checkedVal) {\n      "),a("span",{pre:!0,attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{pre:!0,attrs:{class:"hljs-string"}},[s._v("'val是整个树的值:'")]),s._v(", val);\n      "),a("span",{pre:!0,attrs:{class:"hljs-built_in"}},[s._v("console")]),s._v(".log("),a("span",{pre:!0,attrs:{class:"hljs-string"}},[s._v("'checkedVal是选中的值:'")]),s._v(", checkedVal);\n    },\n    closeTree(){\n\n    }\n  }\n")])])])}],r=a("6691"),n={},v=Object(r["a"])(n,e,l,!1,null,null,null);t["default"]=v.exports}}]);
//# sourceMappingURL=chunk-2d0c73de.7538e7e9.js.map