Commit 2afb5f1c by 姜雷

Merge branch 'test' into 'master'

Test See merge request !23
parents 361567b7 b8aa1060
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
}, },
"browserslist": [ "browserslist": [
"> 1%", "> 1%",
"last 2 versions",
"iOS >= 7", "iOS >= 7",
"Android > 4.1", "Android > 4.1",
"last 2 versions" "last 2 versions"
......
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head>
<head> <meta charset="utf-8" />
<meta charset="utf-8"> <meta
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no, viewport-fit=cover, shrink-to-fit=no"> name="viewport"
<meta name="theme-color" content="#000000"> content="width=device-width, initial-scale=1,user-scalable=no, viewport-fit=cover, shrink-to-fit=no"
/>
<meta name="theme-color" content="#000000" />
<script src="//g.alicdn.com/fdilab/lib3rd/viewport-units-buggyfill/0.6.2/??viewport-units-buggyfill.hacks.min.js,viewport-units-buggyfill.min.js"></script> <script src="//g.alicdn.com/fdilab/lib3rd/viewport-units-buggyfill/0.6.2/??viewport-units-buggyfill.hacks.min.js,viewport-units-buggyfill.min.js"></script>
<link rel="manifest" href="%PUBLIC_URL%/manifest.json"> <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico"> <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
<title>成都师范后勤管理</title> <title>成都师范后勤管理</title>
</head> </head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root">
</div>
<script> window.onload = function () { window.viewportUnitsBuggyfill.init({ hacks: window.viewportUnitsBuggyfillHacks }); } </script>
</body>
<body>
<noscript> You need to enable JavaScript to run this app. </noscript>
<div id="root"></div>
<script>
window.onload = function() {
window.viewportUnitsBuggyfill.init({
hacks: window.viewportUnitsBuggyfillHacks,
});
};
</script>
</body>
</html> </html>
...@@ -210,7 +210,7 @@ class ReprtRepair extends Component { ...@@ -210,7 +210,7 @@ class ReprtRepair extends Component {
Toast.success(data.msg); Toast.success(data.msg);
history.replace('/repair/RepairList'); history.replace('/repair/RepairList');
} else { } else {
throw { msg: data.msg }; Promise.reject({ msg: data.msg });
} }
}) })
.catch(err => { .catch(err => {
......
import 'core-js/es6/map';
import 'core-js/es6/set';
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import './styles/index.css'; import './styles/index.css';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment