nimble-ui-pc
Version:
基础vue ui库 配置化组件 后台管理系统组件
1 lines • 2.75 kB
JavaScript
module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s="a69a")}({"2HHg":function(e,t,n){"use strict";t.a=function(e){e&&!e.install&&(e.install=function(t){var n=e.name||"",r=t.component(n);r||t.component(n,e)});return e}},"5IOj":function(e,t){},"B/FW":function(e,t){},"F/C+":function(e,t,n){"use strict";var r=n("2HHg");t.a=r.a},"VU/8":function(e,t){e.exports=function(e,t,n,r,a,o){var s,u=e=e||{},i=typeof e.default;"object"!==i&&"function"!==i||(s=e,u=e.default);var c,l="function"==typeof u?u.options:u;if(t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),a&&(l._scopeId=a),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):r&&(c=r),c){var f=l.functional,d=f?l.render:l.beforeCreate;f?(l._injectStyles=c,l.render=function(e,t){return c.call(t),d(e,t)}):l.beforeCreate=d?[].concat(d,c):[c]}return{esModule:s,exports:u,options:l}}},a69a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("F/C+"),a={extends:n("jeun").a,name:"NupLevelbar",props:{separator:{default:"/"},nameText:{default:""}},created:function(){this.setBreadcrumb()},data:function(){return{myList:[{name:"small"},{name:"big"}]}},methods:{setBreadcrumb:function(){var e=this.$route;if(e&&e.matched){var t=e.matched.filter(function(e){return e.name}),n=t[0];!n||n.name===this.nameText&&""===n.path||(t=[{name:this.nameText,path:"/"}].concat(t)),this.myList=t}}},watch:{$route:function(){this.setBreadcrumb()}}},o={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"nups_levelbar",attrs:{separator:e.separator,theme:"dark"}},e._l(e.myList,function(t,r){return n("el-breadcrumb-item",{key:r},[t.redirect&&r!==e.myList.length-1?n("router-link",{attrs:{to:t.path}},[e._v(e._s(t.name))]):n("router-link",{staticClass:"nup_no-redirect",attrs:{to:""}},[e._v(e._s(t.name))])],1)}))},staticRenderFns:[]};var s=n("VU/8")(a,o,!1,function(e){n("5IOj")},null,null).exports;t.default=Object(r.a)(s)},jeun:function(e,t,n){"use strict";n("B/FW");var r=n("VU/8")({},null,!1,null,null,null);t.a=r.exports}});