chunk-2d871d59.4a8b331b.js 2.7 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d871d59","chunk-ec3558a6"],{"31e3":function(t,e,r){},"438a":function(t,e,r){"use strict";r.r(e);var c=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"error-page"},[r("h1",{staticClass:"code"},[t._v(t._s(t.code))]),r("p",{staticClass:"desc"},[t._v(t._s(t.desc))]),r("div",{staticClass:"router"},[r("el-select",{attrs:{filterable:"","prefix-icon":"el-icon-search"},model:{value:t.url,callback:function(e){t.url=e},expression:"url"}},t._l(t.routes,(function(e,c){return r("el-option",{key:c,attrs:{value:e.path}},[r("span",{staticStyle:{float:"left"}},[t._v(t._s(e.name))]),r("span",{staticStyle:{float:"right"}},[t._v(t._s(e.path))])])})),1),r("el-button",{attrs:{size:"medium",round:""},on:{click:t.navTo}},[t._v("跳转")])],1),r("div",{staticClass:"link"},[r("el-link",{staticClass:"to-home",on:{click:t.home}},[t._v(" 回到首页 ")]),r("el-link",{staticClass:"to-back",on:{click:t.back}},[t._v("返回上一页")]),r("el-link",{staticClass:"to-login",on:{click:t.login}},[t._v("重新登录")])],1),r("p",{staticClass:"copyright"},[t._v("Copyright © cool-admin 2020")])])},n=[],o=(r("3546"),r("0e8d"),r("fdc1"),r("1528"),r("a94a"),r("639b"),r("4f5b"),r("b287"),r("9d37")),s=r("5880");function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);e&&(c=c.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,c)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){Object(o["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var l={props:{code:Number,desc:String},data:function(){return{url:""}},computed:i({},Object(s["mapGetters"])(["routes"])),methods:{navTo:function(){this.$router.push(this.url)},back:function(){history.back()},home:function(){this.$router.push("/")},login:function(){var t=this;this.$store.dispatch("userLogout"),setTimeout((function(){t.$router.push("/login")}),30)}}},u=l,p=(r("ab10"),r("5511")),f=Object(p["a"])(u,c,n,!1,null,"c9dd9b2c",null);e["default"]=f.exports},ab10:function(t,e,r){"use strict";var c=r("31e3"),n=r.n(c);n.a},e9da:function(t,e,r){"use strict";r.r(e);var c=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("error-page",{attrs:{code:404,desc:"找不到您要查找的页面"}})},n=[],o=r("438a"),s={components:{ErrorPage:o["default"]}},a=s,i=r("5511"),l=Object(i["a"])(a,c,n,!1,null,null,null);e["default"]=l.exports}}]);