update fetch

This commit is contained in:
RainSun 2021-09-04 12:00:06 +08:00
parent 91af5d0685
commit 3c7426d06b
4 changed files with 5 additions and 5 deletions

2
dist/index.html vendored
View File

@ -9,4 +9,4 @@
'font-size:12px;color:#999999;', (new Date).getFullYear());
}
catch (e) {
}</script><script src="//at.alicdn.com/t/font_1630993_l8ge7m6darc.js"></script><link href="/css/chunk-087e7bdc.78ed4051.css" rel="prefetch"><link href="/css/chunk-12ce693a.d4f55bfe.css" rel="prefetch"><link href="/css/chunk-208ba6f0.0ceb0ae3.css" rel="prefetch"><link href="/css/chunk-20a4acfd.ee5426c9.css" rel="prefetch"><link href="/css/chunk-452984ea.54d1eb07.css" rel="prefetch"><link href="/css/chunk-79895dbf.944073aa.css" rel="prefetch"><link href="/css/chunk-7b388ded.60b86910.css" rel="prefetch"><link href="/css/chunk-de5b02e4.9e01b52c.css" rel="prefetch"><link href="/js/chunk-087e7bdc.d185b05f.js" rel="prefetch"><link href="/js/chunk-12ce693a.2c99b1af.js" rel="prefetch"><link href="/js/chunk-208ba6f0.4806e291.js" rel="prefetch"><link href="/js/chunk-20a4acfd.687a76b1.js" rel="prefetch"><link href="/js/chunk-452984ea.96231f47.js" rel="prefetch"><link href="/js/chunk-79895dbf.d8e41022.js" rel="prefetch"><link href="/js/chunk-7b388ded.d855344c.js" rel="prefetch"><link href="/js/chunk-de5b02e4.5e0a54b1.js" rel="prefetch"><link href="/css/app.2c2f5006.css" rel="preload" as="style"><link href="/css/chunk-vendors.23c1f75a.css" rel="preload" as="style"><link href="/js/app.c457ad3d.js" rel="modulepreload" as="script"><link href="/js/chunk-vendors.759992b2.js" rel="modulepreload" as="script"><link href="/css/chunk-vendors.23c1f75a.css" rel="stylesheet"><link href="/css/app.2c2f5006.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/favicon.ico"><link rel="icon" type="image/png" sizes="16x16" href="/favicon.ico"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#e54d42"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Cherry"><link rel="apple-touch-icon" href="/favicon.ico"><link rel="mask-icon" href="/favicon.ico" color="#e54d42"><meta name="msapplication-TileImage" content="/favicon.ico"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but cust doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script type="module" src="/js/chunk-vendors.759992b2.js"></script><script type="module" src="/js/app.c457ad3d.js"></script><script>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script src="/js/chunk-vendors-legacy.759992b2.js" nomodule></script><script src="/js/app-legacy.61661a60.js" nomodule></script></body></html>
}</script><script src="//at.alicdn.com/t/font_1630993_l8ge7m6darc.js"></script><link href="/css/chunk-0b39892e.f0f2b57c.css" rel="prefetch"><link href="/css/chunk-47054a92.266403eb.css" rel="prefetch"><link href="/css/chunk-48c8a9b6.336e2b50.css" rel="prefetch"><link href="/css/chunk-50318da4.0ded23c0.css" rel="prefetch"><link href="/css/chunk-59702534.28480c28.css" rel="prefetch"><link href="/css/chunk-68992484.db4bb3be.css" rel="prefetch"><link href="/css/chunk-7d9f2d29.8aa65aa5.css" rel="prefetch"><link href="/css/chunk-b948d8ea.f2742bdf.css" rel="prefetch"><link href="/js/chunk-0b39892e.f3941107.js" rel="prefetch"><link href="/js/chunk-47054a92.3f276cbb.js" rel="prefetch"><link href="/js/chunk-48c8a9b6.7c6dd5e4.js" rel="prefetch"><link href="/js/chunk-50318da4.fa769ba7.js" rel="prefetch"><link href="/js/chunk-59702534.83088a4b.js" rel="prefetch"><link href="/js/chunk-68992484.51991eb0.js" rel="prefetch"><link href="/js/chunk-7d9f2d29.e245231d.js" rel="prefetch"><link href="/js/chunk-b948d8ea.e379daab.js" rel="prefetch"><link href="/css/app.22388f63.css" rel="preload" as="style"><link href="/css/chunk-vendors.23c1f75a.css" rel="preload" as="style"><link href="/js/app.989a213d.js" rel="modulepreload" as="script"><link href="/js/chunk-vendors.87fddfcf.js" rel="modulepreload" as="script"><link href="/css/chunk-vendors.23c1f75a.css" rel="stylesheet"><link href="/css/app.22388f63.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/favicon.ico"><link rel="icon" type="image/png" sizes="16x16" href="/favicon.ico"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#e54d42"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Cherry"><link rel="apple-touch-icon" href="/favicon.ico"><link rel="mask-icon" href="/favicon.ico" color="#e54d42"><meta name="msapplication-TileImage" content="/favicon.ico"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but cust doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script type="module" src="/js/chunk-vendors.87fddfcf.js"></script><script type="module" src="/js/app.989a213d.js"></script><script>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script src="/js/chunk-vendors-legacy.87fddfcf.js" nomodule></script><script src="/js/app-legacy.65a6d1d3.js" nomodule></script></body></html>

View File

@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/precache-manifest.c4a80404a0ebbc914c1952be805be955.js"
"/precache-manifest.fc70ba8b2b3e40a945878bb1c4773a46.js"
);
workbox.core.setCacheNameDetails({prefix: "cherry"});

View File

@ -4,9 +4,9 @@ export const api = axios.create({
// baseURL: 'https://beta.powerrain.cn/api/',
// baseURL: 'https://coc.powerrain.cn/api/',
// baseURL: window.location.origin + '/api/',
//baseURL: 'https://cherry.lacus.site' + '/api/',
baseURL: 'https://cherry.lacus.site' + '/api/',
//baseURL: 'http://127.0.0.1:5000/api',
baseURL: 'http://localhost:7980/api',
// baseURL: 'http://localhost:7980/api',
headers: {
//'Content-Type': 'application/x-www-form-urlencoded',
//'Accept': 'application/json',

View File

@ -341,7 +341,7 @@ export default {
}
.login-box {
width: 85%;
height: 8.5rem;
height: 10.5rem;
background: #fff;
margin: 0 auto;
margin-top: -1rem;