forgeplus/public/react/build/static/js/90.c302a3dc.chunk.js

1 line
1.8 KiB
JavaScript

(this.webpackJsonp=this.webpackJsonp||[]).push([[90],{Kwxn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n("q1tI"),l=(a=r)&&a.__esModule?a:{default:a},u=n("eO8H");n("dEUZ"),t.default=function(e){var t=e.tab,n=e.owner,a=e.projectsId;return l.default.createElement("ul",{className:"subMenu"},l.default.createElement(u.Link,{to:"/"+n+"/"+a+"/tags",className:"tags"===t?"active":""},"标签"),l.default.createElement(u.Link,{to:"/"+n+"/"+a+"/releases",className:"releases"===t?"active":""},"发行版"))}},Qe4H:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=c(n("q1tI")),l=n("dtw8"),u=c(n("CnBM")),d=c(n("HUFq")),o=c(n("Kwxn"));function c(e){return e&&e.__esModule?e:{default:e}}n("e4dm");var s=(0,u.default)({loader:function(){return n.e(98).then(n.t.bind(null,"nCbK",7))},loading:d.default}),f=(0,u.default)({loader:function(){return Promise.all([n.e(0),n.e(3),n.e(4),n.e(9),n.e(47)]).then(n.t.bind(null,"lLsn",7))},loading:d.default});t.default=function(e){var t=e.match.params,n=t.projectsId,u=t.owner;return r.default.createElement("div",null,r.default.createElement(o.default,{tab:"releases",projectsId:n,owner:u}),r.default.createElement(l.Switch,null,r.default.createElement(l.Route,{path:"/:owner/:projectsId/releases/:versionId/update",render:function(t){return r.default.createElement(f,a({},e,t))}}),r.default.createElement(l.Route,{path:"/:owner/:projectsId/releases/new",render:function(t){return r.default.createElement(f,a({},e,t))}}),r.default.createElement(l.Route,{path:"/:owner/:projectsId/releases",render:function(t){return r.default.createElement(s,a({},e,t))}})))}},dEUZ:function(e,t,n){},e4dm:function(e,t,n){}}]);