parent
4b2a9b1a31
commit
bc9ae8b0ee
@ -1,78 +0,0 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[43862],{
|
||||
|
||||
/***/ 84043:
|
||||
/*!**************************************!*\
|
||||
!*** ./src/pages/HttpStatus/403.tsx ***!
|
||||
\**************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
|
||||
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectDestructuringEmpty.js */ 70236);
|
||||
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 59301);
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
|
||||
|
||||
|
||||
|
||||
|
||||
// import { useLocation } from 'umi';
|
||||
|
||||
|
||||
var Http403 = function Http403(_ref) {
|
||||
_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectDestructuringEmpty_js__WEBPACK_IMPORTED_MODULE_1___default()(_ref);
|
||||
var errorStatus = JSON.parse(sessionStorage.getItem('errorStatus'));
|
||||
var message = errorStatus === null || errorStatus === void 0 ? void 0 : errorStatus.message;
|
||||
var btnStyle = {
|
||||
display: 'inline-block',
|
||||
width: 160,
|
||||
height: 40,
|
||||
borderRadius: 5,
|
||||
fontSize: 14,
|
||||
textAlign: 'center',
|
||||
lineHeight: '40px'
|
||||
};
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", {
|
||||
className: "pt60 pb60 tc",
|
||||
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("p", {
|
||||
className: "font16",
|
||||
style: {
|
||||
color: '#999',
|
||||
marginBottom: 40,
|
||||
marginTop: 220
|
||||
},
|
||||
children: message || /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("span", {
|
||||
children: "\u62B1\u6B49\uFF0C\u60A8\u65E0\u6743\u8BBF\u95EE\u8BE5\u9875\u9762"
|
||||
})
|
||||
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", {
|
||||
style: {
|
||||
marginBottom: 70
|
||||
},
|
||||
children: [history.length > 2 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("a", {
|
||||
style: _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, btnStyle), {}, {
|
||||
border: '1px solid #0152d9'
|
||||
}),
|
||||
onClick: function onClick(e) {
|
||||
e.preventDefault();
|
||||
history.back();
|
||||
},
|
||||
children: "\u8FD4\u56DE\u4E0A\u4E00\u9875"
|
||||
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("a", {
|
||||
href: "/",
|
||||
style: _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, btnStyle), {}, {
|
||||
backgroundColor: '#0152d9',
|
||||
color: "#fff",
|
||||
marginLeft: history.length > 2 ? 40 : 0
|
||||
}),
|
||||
children: "\u8FD4\u56DE\u9996\u9875"
|
||||
})]
|
||||
})]
|
||||
});
|
||||
};
|
||||
/* harmony default export */ __webpack_exports__["default"] = (Http403);
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue