12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-77d5b6e2"],{1665:function(t,a,e){},"666c":function(t,a,e){"use strict";var n=e("1665"),o=e.n(n);o.a},c354:function(t,a,e){var n=e("7a23"),o=e("c223").f,c=Function.prototype,b=c.toString,i=/^\s*function ([^ (]*)/,r="name";!n||r in c||o(c,r,{configurable:!0,get:function(){try{return b.call(this).match(i)[1]}catch(t){return""}}})},c3bc:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("a-tabs",{style:{height:"200px"},attrs:{defaultActiveKey:t.key,tabPosition:t.mode,animated:!1},on:{prevClick:t.callback,nextClick:t.callback,change:t.changeHandle}},[t._l(t.links,(function(a,n){return e("a-tab-pane",{key:n,attrs:{tab:a.name}},[e("keep-alive",[t.$route.meta.keepAlive?e("router-view"):t._e()],1),t.$route.meta.keepAlive?t._e():e("router-view")],1)})),e("a-tab-pane",{key:"5",attrs:{tab:"Tab 5"}},[t._v("Content of tab 5")]),e("a-tab-pane",{key:"6",attrs:{tab:"Tab 6"}},[t._v("Content of tab 6")]),e("a-tab-pane",{key:"7",attrs:{tab:"Tab 7"}},[t._v("Content of tab 7")]),e("a-tab-pane",{key:"8",attrs:{tab:"Tab 8"}},[t._v("Content of tab 8")]),e("a-tab-pane",{key:"9",attrs:{tab:"Tab 9"}},[t._v("Content of tab 9")]),e("a-tab-pane",{key:"10",attrs:{tab:"Tab 10"}},[t._v("Content of tab 10")]),e("a-tab-pane",{key:"11",attrs:{tab:"Tab 11"}},[t._v("Content of tab 11")])],2)},o=[],c=(e("c354"),{name:"tab",data:function(){return{mode:"top",key:0,links:[{name:"child",path:"child"},{name:"second",path:"second"}]}},methods:{callback:function(t){console.log(t)},changeHandle:function(t){console.log(t);var a=this.links[t].name,e=this.$route.name;e!==a&&this.$router.push({name:a})},tabClick:function(t){console.log(t)}}}),b=c,i=(e("666c"),e("5511")),r=Object(i["a"])(b,n,o,!1,null,"8540b4fa",null);a["default"]=r.exports}}]);
- //# sourceMappingURL=chunk-77d5b6e2.507c6972.js.map
|