1 line
2.1 KiB
JavaScript
1 line
2.1 KiB
JavaScript
(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[15],{114:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){n(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}r.d(e,"a",(function(){return o}))},120:function(t,e,r){"use strict";var n=r(114),c=r(41),o=r(42),a=r(44),i=r(43),u=r(0),s=r(3);e.a=function(t){return function(e){Object(a.a)(u,e);var r=Object(i.a)(u);function u(){var t;Object(c.a)(this,u);for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return(t=r.call.apply(r,[this].concat(n))).defaultCommodity={currency:"CNY",symbol:"\uffe5"},t.currentCommodity=window.localStorage.getItem("ledgerCurrency"),t}return Object(o.a)(u,[{key:"render",value:function(){return Object(s.jsx)(t,Object(n.a)(Object(n.a)({},this.props),{},{commodity:this.currentCommodity?JSON.parse(this.currentCommodity):this.defaultCommodity}))}}]),u}(u.Component)}},364:function(t,e,r){},478:function(t,e,r){"use strict";r.r(e);var n=r(41),c=r(42),o=r(44),a=r(43),i=r(0),u=r(120),s=r(46),b=(r(364),r(3)),f=function(t){Object(o.a)(r,t);var e=Object(a.a)(r);function r(){var t;Object(n.a)(this,r);for(var c=arguments.length,o=new Array(c),a=0;a<c;a++)o[a]=arguments[a];return(t=e.call.apply(e,[this].concat(o))).theme=t.context.theme,t}return Object(c.a)(r,[{key:"render",value:function(){return this.context.theme!==this.theme&&(this.theme=this.context.theme),Object(b.jsx)("div",{className:"about-page",children:"\u5173\u4e8e"})}}]),r}(i.Component);f.contextType=s.a,e.default=Object(u.a)(f)}}]); |