update web view
This commit is contained in:
parent
05b5b67f93
commit
698f851070
|
|
@ -1,37 +1,36 @@
|
|||
{
|
||||
"files": {
|
||||
"static/js/0.7c131709.chunk.js": "/web/static/js/0.7c131709.chunk.js",
|
||||
"static/js/1.9824f4d0.chunk.js": "/web/static/js/1.9824f4d0.chunk.js",
|
||||
"static/js/2.a614f245.chunk.js": "/web/static/js/2.a614f245.chunk.js",
|
||||
"static/js/3.1bdb443e.chunk.js": "/web/static/js/3.1bdb443e.chunk.js",
|
||||
"static/js/4.9a7b212c.chunk.js": "/web/static/js/4.9a7b212c.chunk.js",
|
||||
"static/js/0.40d82a89.chunk.js": "/web/static/js/0.40d82a89.chunk.js",
|
||||
"static/js/1.65018e52.chunk.js": "/web/static/js/1.65018e52.chunk.js",
|
||||
"static/js/2.46921572.chunk.js": "/web/static/js/2.46921572.chunk.js",
|
||||
"static/js/3.12aa9710.chunk.js": "/web/static/js/3.12aa9710.chunk.js",
|
||||
"static/js/4.0b1c5f35.chunk.js": "/web/static/js/4.0b1c5f35.chunk.js",
|
||||
"main.css": "/web/static/css/main.36a187a3.chunk.css",
|
||||
"main.js": "/web/static/js/main.13603704.chunk.js",
|
||||
"runtime-main.js": "/web/static/js/runtime-main.196cef7f.js",
|
||||
"main.js": "/web/static/js/main.9f5dbfa8.chunk.js",
|
||||
"runtime-main.js": "/web/static/js/runtime-main.2b87a0b6.js",
|
||||
"static/css/7.9221b8e1.chunk.css": "/web/static/css/7.9221b8e1.chunk.css",
|
||||
"static/js/7.bcd76857.chunk.js": "/web/static/js/7.bcd76857.chunk.js",
|
||||
"static/js/7.3c6b9a47.chunk.js": "/web/static/js/7.3c6b9a47.chunk.js",
|
||||
"static/css/8.97dd6d72.chunk.css": "/web/static/css/8.97dd6d72.chunk.css",
|
||||
"static/js/8.78523ab9.chunk.js": "/web/static/js/8.78523ab9.chunk.js",
|
||||
"static/js/8.4b7114f8.chunk.js": "/web/static/js/8.4b7114f8.chunk.js",
|
||||
"static/css/9.f0a90ddf.chunk.css": "/web/static/css/9.f0a90ddf.chunk.css",
|
||||
"static/js/9.18cbbe38.chunk.js": "/web/static/js/9.18cbbe38.chunk.js",
|
||||
"static/css/10.d211b268.chunk.css": "/web/static/css/10.d211b268.chunk.css",
|
||||
"static/js/10.6404ef1e.chunk.js": "/web/static/js/10.6404ef1e.chunk.js",
|
||||
"static/js/11.a8879f5d.chunk.js": "/web/static/js/11.a8879f5d.chunk.js",
|
||||
"static/js/12.aecf39db.chunk.js": "/web/static/js/12.aecf39db.chunk.js",
|
||||
"static/js/13.e7e9daae.chunk.js": "/web/static/js/13.e7e9daae.chunk.js",
|
||||
"static/js/9.82ee9f32.chunk.js": "/web/static/js/9.82ee9f32.chunk.js",
|
||||
"static/js/10.0c9c4352.chunk.js": "/web/static/js/10.0c9c4352.chunk.js",
|
||||
"static/css/11.d211b268.chunk.css": "/web/static/css/11.d211b268.chunk.css",
|
||||
"static/js/11.e18c984c.chunk.js": "/web/static/js/11.e18c984c.chunk.js",
|
||||
"static/js/12.bd16485d.chunk.js": "/web/static/js/12.bd16485d.chunk.js",
|
||||
"static/js/13.e71496c0.chunk.js": "/web/static/js/13.e71496c0.chunk.js",
|
||||
"static/css/14.0e433876.chunk.css": "/web/static/css/14.0e433876.chunk.css",
|
||||
"static/js/14.41efa088.chunk.js": "/web/static/js/14.41efa088.chunk.js",
|
||||
"static/js/15.4f20d8d1.chunk.js": "/web/static/js/15.4f20d8d1.chunk.js",
|
||||
"static/js/14.273e8282.chunk.js": "/web/static/js/14.273e8282.chunk.js",
|
||||
"static/js/15.acd0d9c4.chunk.js": "/web/static/js/15.acd0d9c4.chunk.js",
|
||||
"index.html": "/web/index.html",
|
||||
"static/js/0.7c131709.chunk.js.LICENSE.txt": "/web/static/js/0.7c131709.chunk.js.LICENSE.txt",
|
||||
"static/js/10.6404ef1e.chunk.js.LICENSE.txt": "/web/static/js/10.6404ef1e.chunk.js.LICENSE.txt",
|
||||
"static/js/11.a8879f5d.chunk.js.LICENSE.txt": "/web/static/js/11.a8879f5d.chunk.js.LICENSE.txt",
|
||||
"static/js/7.bcd76857.chunk.js.LICENSE.txt": "/web/static/js/7.bcd76857.chunk.js.LICENSE.txt"
|
||||
"static/js/10.0c9c4352.chunk.js.LICENSE.txt": "/web/static/js/10.0c9c4352.chunk.js.LICENSE.txt",
|
||||
"static/js/11.e18c984c.chunk.js.LICENSE.txt": "/web/static/js/11.e18c984c.chunk.js.LICENSE.txt",
|
||||
"static/js/7.3c6b9a47.chunk.js.LICENSE.txt": "/web/static/js/7.3c6b9a47.chunk.js.LICENSE.txt"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/js/runtime-main.196cef7f.js",
|
||||
"static/js/11.a8879f5d.chunk.js",
|
||||
"static/js/runtime-main.2b87a0b6.js",
|
||||
"static/js/10.0c9c4352.chunk.js",
|
||||
"static/css/main.36a187a3.chunk.css",
|
||||
"static/js/main.13603704.chunk.js"
|
||||
"static/js/main.9f5dbfa8.chunk.js"
|
||||
]
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
<!doctype html><html lang="zh"><head><meta charset="utf-8"/><link rel="icon" href="/web/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/web/logo192.png"/><link rel="manifest" href="/web/manifest.json"/><title>我的账本</title><link href="/web/static/css/main.36a187a3.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,c=t[0],i=t[1],f=t[2],l=0,s=[];l<c.length;l++)o=c[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(d&&d(t);s.length;)s.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={6:0},a={6:0},u=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{7:1,8:1,9:1,10:1,14:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"31d6cfe0",3:"31d6cfe0",4:"31d6cfe0",7:"9221b8e1",8:"97dd6d72",9:"f0a90ddf",10:"d211b268",12:"31d6cfe0",13:"31d6cfe0",14:"0e433876",15:"31d6cfe0"}[e]+".chunk.css",a=c.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var f=(d=u[i]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===n||f===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var d;if((f=(d=l[i]).getAttribute("data-href"))===n||f===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],s.parentNode.removeChild(s),r(u)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({}[e]||e)+"."+{0:"7c131709",1:"9824f4d0",2:"a614f245",3:"1bdb443e",4:"9a7b212c",7:"bcd76857",8:"78523ab9",9:"18cbbe38",10:"6404ef1e",12:"aecf39db",13:"e7e9daae",14:"41efa088",15:"4f20d8d1"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/web/",c.oe=function(e){throw console.error(e),e};var i=this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var d=f;r()}([])</script><script src="/web/static/js/11.a8879f5d.chunk.js"></script><script src="/web/static/js/main.13603704.chunk.js"></script></body></html>
|
||||
<!doctype html><html lang="zh"><head><meta charset="utf-8"/><link rel="icon" href="/web/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/web/logo192.png"/><link rel="manifest" href="/web/manifest.json"/><title>我的账本</title><link href="/web/static/css/main.36a187a3.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,u=t[0],i=t[1],f=t[2],l=0,s=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(d&&d(t);s.length;)s.shift()();return c.push.apply(c,f||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={6:0},a={6:0},c=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{7:1,8:1,9:1,11:1,14:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"31d6cfe0",3:"31d6cfe0",4:"31d6cfe0",7:"9221b8e1",8:"97dd6d72",9:"f0a90ddf",11:"d211b268",12:"31d6cfe0",13:"31d6cfe0",14:"0e433876",15:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(d=c[i]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===n||f===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var d;if((f=(d=l[i]).getAttribute("data-href"))===n||f===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],s.parentNode.removeChild(s),r(c)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"40d82a89",1:"65018e52",2:"46921572",3:"12aa9710",4:"0b1c5f35",7:"3c6b9a47",8:"4b7114f8",9:"82ee9f32",11:"e18c984c",12:"bd16485d",13:"e71496c0",14:"273e8282",15:"acd0d9c4"}[e]+".chunk.js"}(e);var f=new Error;c=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var l=setTimeout((function(){c({type:"timeout",target:i})}),12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="/web/",u.oe=function(e){throw console.error(e),e};var i=this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var d=f;r()}([])</script><script src="/web/static/js/10.0c9c4352.chunk.js"></script><script src="/web/static/js/main.9f5dbfa8.chunk.js"></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,5 +0,0 @@
|
|||
/*!
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -4,6 +4,12 @@ object-assign
|
|||
@license MIT
|
||||
*/
|
||||
|
||||
/*!
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/** @license React v0.20.2
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[14],{113: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}))},126:function(t,e,r){"use strict";var n=r(113),c=r(40),o=r(41),a=r(43),i=r(42),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)}},357:function(t,e,r){},470:function(t,e,r){"use strict";r.r(e);var n=r(40),c=r(41),o=r(43),a=r(42),i=r(0),u=r(126),s=r(44),b=(r(357),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)}}]);
|
||||
|
|
@ -1 +0,0 @@
|
|||
(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[14],{354:function(t,e,r){},470:function(t,e,r){"use strict";r.r(e);var n=r(11),c=r(12),o=r(14),a=r(13),i=r(0),u=r(79),s=r(15),b=(r(354),r(1)),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)},60: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}))},79:function(t,e,r){"use strict";var n=r(60),c=r(11),o=r(12),a=r(14),i=r(13),u=r(0),s=r(1);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)}}}]);
|
||||
|
|
@ -1 +0,0 @@
|
|||
(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[15],{471:function(t,e,n){"use strict";n.r(e);var i=n(11),o=n(12),r=n(14),a=n(13),c=n(479),s=n(462),l=n(219),h=n(338),u=n(357),d=(n(452),n(0)),f=n(58),b=n(15),p=n(79),j=n(1),m=function(t){Object(r.a)(n,t);var e=Object(a.a)(n);function n(){var t;Object(i.a)(this,n);for(var o=arguments.length,r=new Array(o),a=0;a<o;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))).theme=t.context.theme,t.state={loading:!1,path:null,files:[],rawContent:"",content:"",editorState:u.EditorState.createEmpty()},t.fetchFileDir=function(){t.setState({loading:!0}),Object(f.b)("/api/auth/file/dir").then((function(e){t.setState({files:e})})).finally((function(){t.setState({loading:!1})}))},t.handldEditContent=function(e){t.setState({editorState:e,content:e.getCurrentContent().getPlainText()})},t.handleChangeFile=function(e){t.setState({path:e},(function(){t.fetchFileContent(e)}))},t.fetchFileContent=function(){t.setState({loading:!0}),Object(f.b)("/api/auth/file/content?path=".concat(t.state.path)).then((function(e){t.setState({rawContent:e,content:e,editorState:u.EditorState.createWithContent(u.ContentState.createFromText(e))})})).finally((function(){t.setState({loading:!1})}))},t.saveFileContent=function(){var e=t.state,n=e.path,i=e.content;t.setState({loading:!0}),Object(f.b)("/api/auth/file",{method:"POST",body:{path:n,content:i}}).then((function(){t.setState({rawContent:i}),s.b.success("\u4fdd\u5b58\u6210\u529f")})).finally((function(){t.setState({loading:!1})}))},t}return Object(o.a)(n,[{key:"componentDidMount",value:function(){this.fetchFileDir()}},{key:"render",value:function(){return this.context.theme!==this.theme&&(this.theme=this.context.theme),Object(j.jsxs)("div",{className:"edit-page",children:[Object(j.jsxs)("div",{children:[Object(j.jsx)(l.a,{showSearch:!0,placeholder:"\u8bf7\u9009\u62e9\u6e90\u6587\u4ef6",style:{width:"200px"},onChange:this.handleChangeFile,children:this.state.files.map((function(t){return Object(j.jsx)(l.a.Option,{value:t,children:t},t)}))}),"\xa0\xa0",Object(j.jsx)(h.a,{type:"primary",icon:Object(j.jsx)(c.a,{}),disabled:this.state.rawContent===this.state.content,loading:this.state.loading,onClick:this.saveFileContent,children:"\u4fdd\u5b58"})]}),Object(j.jsx)("div",{style:{marginTop:"1rem"},children:Object(j.jsx)(u.Editor,{placeholder:"\u672a\u9009\u62e9\u6587\u4ef6",editorState:this.state.editorState,onChange:this.handldEditContent})})]})}}]),n}(d.Component);m.contextType=b.a,e.default=Object(p.a)(m)},58:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return s})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return u}));var i=n(462),o=(n(80),n(131)),r=n.n(o),a=function(t){var e=t.split(":");return e&&e.length>=1?t.split(":")[0]:""},c=function(t){return t.split(":").join("_")},s=function(t){var e=t.split(":");return e&&e.length>=2?t.split(":")[e.length-1]:""},l={Income:"\u6536\u5165",Expenses:"\u652f\u51fa",Liabilities:"\u8d1f\u503a",Assets:"\u8d44\u4ea7"},h=function(t){return t},u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.method,o=e.headers,a=e.body,c={"Content-Type":"application/json",ledgerId:window.localStorage.getItem("ledgerId")};return new Promise((function(e,s){r()(t,{method:n,headers:Object.assign({},c,o),body:JSON.stringify(a)}).then(h).then((function(t){return t.json()})).then((function(t){var n=t.code;200===n?e(t.data):200!==n&&(400===n?i.b.error("\u8bf7\u6c42\u53c2\u6570\u9519\u8bef"):1001===n?i.b.error("\u8d26\u76ee\u4e0d\u5e73\u8861"):1003===n?i.b.error("\u65e0\u6548\u8d26\u6237"):1005===n?i.b.error("\u65e0\u6548\u547d\u4ee4"):1006===n?i.b.error("\u5bc6\u7801\u9519\u8bef"):1007===n?i.b.error("\u8d26\u6237\u5df2\u5b58\u5728"):1008===n?i.b.error("\u5bc6\u94a5\u4e0d\u5339\u914d"):1010===n||401===n?window.location.href="/web/#/ledger":i.b.error("\u8bf7\u6c42\u5931\u8d25\uff0c\u8bf7\u5237\u65b0\u9875\u9762\u91cd\u8bd5"),s(t))})).catch((function(t){i.b.error("\u8bf7\u6c42\u5931\u8d25\uff0c\u8bf7\u5237\u65b0\u9875\u9762\u91cd\u8bd5"),s(t)}))}))}},79:function(t,e,n){"use strict";var i=n(60),o=n(11),r=n(12),a=n(14),c=n(13),s=n(0),l=n(1);e.a=function(t){return function(e){Object(a.a)(s,e);var n=Object(c.a)(s);function s(){var t;Object(o.a)(this,s);for(var e=arguments.length,i=new Array(e),r=0;r<e;r++)i[r]=arguments[r];return(t=n.call.apply(n,[this].concat(i))).defaultCommodity={currency:"CNY",symbol:"\uffe5"},t.currentCommodity=window.localStorage.getItem("ledgerCurrency"),t}return Object(r.a)(s,[{key:"render",value:function(){return Object(l.jsx)(t,Object(i.a)(Object(i.a)({},this.props),{},{commodity:this.currentCommodity?JSON.parse(this.currentCommodity):this.defaultCommodity}))}}]),s}(s.Component)}}}]);
|
||||
|
|
@ -0,0 +1 @@
|
|||
(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[15],{126:function(t,e,n){"use strict";var a=n(113),i=n(40),o=n(41),c=n(43),r=n(42),s=n(0),l=n(3);e.a=function(t){return function(e){Object(c.a)(s,e);var n=Object(r.a)(s);function s(){var t;Object(i.a)(this,s);for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return(t=n.call.apply(n,[this].concat(a))).defaultCommodity={currency:"CNY",symbol:"\uffe5"},t.currentCommodity=window.localStorage.getItem("ledgerCurrency"),t}return Object(o.a)(s,[{key:"render",value:function(){return Object(l.jsx)(t,Object(a.a)(Object(a.a)({},this.props),{},{commodity:this.currentCommodity?JSON.parse(this.currentCommodity):this.defaultCommodity}))}}]),s}(s.Component)}},471:function(t,e,n){"use strict";n.r(e);var a=n(40),i=n(41),o=n(43),c=n(42),r=n(479),s=n(22),l=n(250),h=n(347),d=n(360),u=(n(455),n(0)),f=n(60),b=n(44),p=n(126),j=n(3),m=function(t){Object(o.a)(n,t);var e=Object(c.a)(n);function n(){var t;Object(a.a)(this,n);for(var i=arguments.length,o=new Array(i),c=0;c<i;c++)o[c]=arguments[c];return(t=e.call.apply(e,[this].concat(o))).theme=t.context.theme,t.state={loading:!1,path:null,files:[],rawContent:"",content:"",editorState:d.EditorState.createEmpty()},t.fetchFileDir=function(){t.setState({loading:!0}),Object(f.b)("/api/auth/file/dir").then((function(e){t.setState({files:e})})).finally((function(){t.setState({loading:!1})}))},t.handldEditContent=function(e){t.setState({editorState:e,content:e.getCurrentContent().getPlainText()})},t.handleChangeFile=function(e){t.setState({path:e},(function(){t.fetchFileContent(e)}))},t.fetchFileContent=function(){t.setState({loading:!0}),Object(f.b)("/api/auth/file/content?path=".concat(t.state.path)).then((function(e){t.setState({rawContent:e,content:e,editorState:d.EditorState.createWithContent(d.ContentState.createFromText(e))})})).finally((function(){t.setState({loading:!1})}))},t.saveFileContent=function(){var e=t.state,n=e.path,a=e.content;t.setState({loading:!0}),Object(f.b)("/api/auth/file",{method:"POST",body:{path:n,content:a}}).then((function(){t.setState({rawContent:a}),s.b.success("\u4fdd\u5b58\u6210\u529f")})).finally((function(){t.setState({loading:!1})}))},t}return Object(i.a)(n,[{key:"componentDidMount",value:function(){this.fetchFileDir()}},{key:"render",value:function(){return this.context.theme!==this.theme&&(this.theme=this.context.theme),Object(j.jsxs)("div",{className:"edit-page",children:[Object(j.jsxs)("div",{children:[Object(j.jsx)(l.a,{showSearch:!0,placeholder:"\u8bf7\u9009\u62e9\u6e90\u6587\u4ef6",style:{width:"200px"},onChange:this.handleChangeFile,children:this.state.files.map((function(t){return Object(j.jsx)(l.a.Option,{value:t,children:t},t)}))}),"\xa0\xa0",Object(j.jsx)(h.a,{type:"primary",icon:Object(j.jsx)(r.a,{}),disabled:this.state.rawContent===this.state.content,loading:this.state.loading,onClick:this.saveFileContent,children:"\u4fdd\u5b58"})]}),Object(j.jsx)("div",{style:{marginTop:"1rem"},children:Object(j.jsx)(d.Editor,{placeholder:"\u672a\u9009\u62e9\u6587\u4ef6",editorState:this.state.editorState,onChange:this.handldEditContent})})]})}}]),n}(u.Component);m.contextType=b.a,e.default=Object(p.a)(m)}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
(this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[]).push([[5],{15:function(e,t,n){"use strict";var c=n(0),a=n.n(c).a.createContext({theme:"light",toggleTheme:function(){}});t.a=a},29:function(e,t,n){},30:function(e,t,n){},31:function(e,t,n){},37:function(e,t,n){},38:function(e,t,n){"use strict";n.r(t);var c=n(0),a=n.n(c),o=n(20),r=n.n(o),i=(n(29),n(11)),l=n(12),s=n(14),h=n(13),d=n(8),j=(n(30),n(15)),b="\u6211\u7684\u8d26\u672c",u="v0.0.1",m="https://github.com/BaoXuebin/beancount-gs",x="https://www.yuque.com/chuyi-ble7p/beancount-ns",O="https://github.com/BaoXuebin/beancount-gs/issues",g=(n(31),n(1)),p=function(e){Object(s.a)(n,e);var t=Object(h.a)(n);function n(){var e;Object(i.a)(this,n);for(var c=arguments.length,a=new Array(c),o=0;o<c;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).handleOut=function(){localStorage.clear(),window.location.href="/web/#/ledger"},e}return Object(l.a)(n,[{key:"render",value:function(){var e=this.context.theme,t=window.localStorage.getItem("ledgerTitle")||b;return Object(g.jsx)("div",{className:"".concat(e,"-theme"),children:Object(g.jsxs)("div",{className:"wrapper",children:[Object(g.jsx)("header",{children:Object(g.jsx)("nav",{className:"navbar",children:Object(g.jsxs)("div",{className:"container",children:[Object(g.jsx)("div",{className:"navbar-header header-logo",to:"/",children:Object(g.jsx)(d.b,{to:"/",children:t})}),Object(g.jsxs)("div",{className:"menu navbar-right",children:[Object(g.jsx)(d.b,{to:"/account",children:"\u8d26\u6237"}),Object(g.jsx)(d.b,{to:"/stats",children:"\u7edf\u8ba1"}),Object(g.jsx)("a",{onClick:this.handleOut,children:"\u9000\u51fa"}),Object(g.jsx)("a",{href:m,children:Object(g.jsx)("img",{src:"https://img.shields.io/github/stars/BaoXuebin/beancount-gs?style=social"})})]})]})})}),Object(g.jsx)("div",{className:"main",children:Object(g.jsx)("div",{className:"main-wrap",children:this.props.children})}),Object(g.jsx)("footer",{className:"footer",children:Object(g.jsxs)("div",{className:"copyright",children:["\xa9 2021\xa0\xa0",u,"\xa0\xa0",Object(g.jsx)("a",{href:x,target:"_blank",children:"\u4f7f\u7528\u6587\u6863"}),"\xa0\xa0",Object(g.jsx)("a",{href:O,target:"_blank",children:"\u53cd\u9988BUG"}),"\xa0\xa0"]})})]})})}}]),n}(c.Component);p.contextType=j.a;var f=p,v=n(7),w=n.n(v),y=n(2),N=(n(37),function(){return Object(g.jsx)("div",{style:{width:"100%"},className:"lds-rolling",children:Object(g.jsx)("div",{})})}),k=w()({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(4),n.e(13)]).then(n.bind(null,474))},loading:N}),P=w()({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(8)]).then(n.bind(null,475))},loading:N}),B=w()({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(9)]).then(n.bind(null,473))},loading:N}),T=w()({loader:function(){return n.e(14).then(n.bind(null,470))},loading:N}),S=w()({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(10)]).then(n.bind(null,477))},loading:N}),C=w()({loader:function(){return Promise.all([n.e(0),n.e(2),n.e(7),n.e(15)]).then(n.bind(null,471))},loading:N}),A=w()({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(4),n.e(12)]).then(n.bind(null,472))},loading:N}),I=function(){return Object(g.jsx)(a.a.Fragment,{children:Object(g.jsxs)(y.c,{children:[Object(g.jsx)(y.a,{exact:!0,path:"/",component:P}),Object(g.jsx)(y.a,{exact:!0,path:"/init",component:A}),Object(g.jsx)(y.a,{exact:!0,path:"/ledger",component:k}),Object(g.jsx)(y.a,{exact:!0,path:"/account",component:B}),Object(g.jsx)(y.a,{exact:!0,path:"/about",component:T}),Object(g.jsx)(y.a,{exact:!0,path:"/edit",component:C}),Object(g.jsx)(y.a,{exact:!0,path:"/stats",component:S}),Object(g.jsx)(y.a,{component:P})]})})},X=function(e){Object(s.a)(n,e);var t=Object(h.a)(n);function n(){var e;Object(i.a)(this,n);for(var c=arguments.length,a=new Array(c),o=0;o<c;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).state={theme:localStorage.getItem("theme")||"light"},e.toggleTheme=function(t){e.setState({theme:t})},e}return Object(l.a)(n,[{key:"render",value:function(){return Object(g.jsx)("div",{className:"App",children:Object(g.jsx)(j.a.Provider,{value:{theme:this.state.theme,toggleTheme:this.toggleTheme},children:Object(g.jsx)(d.a,{children:Object(g.jsx)(f,{children:Object(g.jsx)(I,{})})})})})}}]),n}(c.Component);Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));r.a.render(Object(g.jsx)(a.a.StrictMode,{children:Object(g.jsx)(X,{})}),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))}},[[38,6,11]]]);
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
!function(e){function t(t){for(var n,o,c=t[0],i=t[1],f=t[2],l=0,s=[];l<c.length;l++)o=c[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(d&&d(t);s.length;)s.shift()();return u.push.apply(u,f||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(u.splice(t--,1),e=c(c.s=r[0]))}return e}var n={},o={6:0},a={6:0},u=[];function c(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,c),r.l=!0,r.exports}c.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{7:1,8:1,9:1,10:1,14:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"31d6cfe0",3:"31d6cfe0",4:"31d6cfe0",7:"9221b8e1",8:"97dd6d72",9:"f0a90ddf",10:"d211b268",12:"31d6cfe0",13:"31d6cfe0",14:"0e433876",15:"31d6cfe0"}[e]+".chunk.css",a=c.p+n,u=document.getElementsByTagName("link"),i=0;i<u.length;i++){var f=(d=u[i]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===n||f===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var d;if((f=(d=l[i]).getAttribute("data-href"))===n||f===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],s.parentNode.removeChild(s),r(u)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,c.nc&&i.setAttribute("nonce",c.nc),i.src=function(e){return c.p+"static/js/"+({}[e]||e)+"."+{0:"7c131709",1:"9824f4d0",2:"a614f245",3:"1bdb443e",4:"9a7b212c",7:"bcd76857",8:"78523ab9",9:"18cbbe38",10:"6404ef1e",12:"aecf39db",13:"e7e9daae",14:"41efa088",15:"4f20d8d1"}[e]+".chunk.js"}(e);var f=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,r){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(c.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(r,n,function(t){return e[t]}.bind(null,n));return r},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/web/",c.oe=function(e){throw console.error(e),e};var i=this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var d=f;r()}([]);
|
||||
|
|
@ -0,0 +1 @@
|
|||
!function(e){function t(t){for(var n,o,u=t[0],i=t[1],f=t[2],l=0,s=[];l<u.length;l++)o=u[l],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(d&&d(t);s.length;)s.shift()();return c.push.apply(c,f||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var i=r[o];0!==a[i]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={6:0},a={6:0},c=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{7:1,8:1,9:1,11:1,14:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",2:"31d6cfe0",3:"31d6cfe0",4:"31d6cfe0",7:"9221b8e1",8:"97dd6d72",9:"f0a90ddf",11:"d211b268",12:"31d6cfe0",13:"31d6cfe0",14:"0e433876",15:"31d6cfe0"}[e]+".chunk.css",a=u.p+n,c=document.getElementsByTagName("link"),i=0;i<c.length;i++){var f=(d=c[i]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(f===n||f===a))return t()}var l=document.getElementsByTagName("style");for(i=0;i<l.length;i++){var d;if((f=(d=l[i]).getAttribute("data-href"))===n||f===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],s.parentNode.removeChild(s),r(c)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=function(e){return u.p+"static/js/"+({}[e]||e)+"."+{0:"40d82a89",1:"65018e52",2:"46921572",3:"12aa9710",4:"0b1c5f35",7:"3c6b9a47",8:"4b7114f8",9:"82ee9f32",11:"e18c984c",12:"bd16485d",13:"e71496c0",14:"273e8282",15:"acd0d9c4"}[e]+".chunk.js"}(e);var f=new Error;c=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",f.name="ChunkLoadError",f.type=n,f.request=o,r[1](f)}a[e]=void 0}};var l=setTimeout((function(){c({type:"timeout",target:i})}),12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(t)},u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="/web/",u.oe=function(e){throw console.error(e),e};var i=this["webpackJsonpbeancount-web"]=this["webpackJsonpbeancount-web"]||[],f=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var d=f;r()}([]);
|
||||
|
|
@ -3,5 +3,5 @@ package service
|
|||
import "github.com/gin-gonic/gin"
|
||||
|
||||
func QueryVersion(c *gin.Context) {
|
||||
OK(c, "v0.0.1")
|
||||
OK(c, "v1.0.1")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue