Auto Submit

dev_local_v9_test4
autosubmit 1 year ago
parent 7ed2ca740e
commit e5cf449acd

@ -29,7 +29,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.c9699ff6.js"></script>
<script src="/react/build/umi.66ed36cd.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -150,6 +150,7 @@ button:active {
border-radius: 8px;
border: 1px solid;
padding: 20px;
height: 100vh;
}
.page___zYygn .center___g76d7 .btns___wXln0 > div {
display: inline-block;

@ -1716,7 +1716,8 @@ var NewHomeEntrance = function NewHomeEntrance(_ref) {
}
(0,laboratory/* reservations_query */.bU)({
page: page,
limit: limit
limit: limit,
created_at: dayjs_min_default()(new Date()).format('YYYY-MM-DD')
}).then(function (res) {
var _res$data, _res$data2;
setTotal(res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.count);
@ -2150,9 +2151,8 @@ var NewHomeEntrance = function NewHomeEntrance(_ref) {
marginTop: 20
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false
// dataSource={tableData}
,
pagination: false,
dataSource: tableData,
className: "materials-table",
columns: columns,
scroll: {

@ -76,11 +76,15 @@ var jsx_runtime = __webpack_require__(37712);
var id = _ref.id,
onClose = _ref.onClose;
var flipbookRef = (0,_react_17_0_2_react.useRef)(null);
console.log('---id', id);
var _useState = (0,_react_17_0_2_react.useState)(),
var _useState = (0,_react_17_0_2_react.useState)(false),
_useState2 = slicedToArray_default()(_useState, 2),
images = _useState2[0],
setimages = _useState2[1];
isloading = _useState2[0],
setisloading = _useState2[1];
console.log('---id', id);
var _useState3 = (0,_react_17_0_2_react.useState)(),
_useState4 = slicedToArray_default()(_useState3, 2),
images = _useState4[0],
setimages = _useState4[1];
(0,_react_17_0_2_react.useEffect)(function () {
if (id) {
getColumn(id);
@ -128,14 +132,16 @@ var jsx_runtime = __webpack_require__(37712);
};
(0,_react_17_0_2_react.useEffect)(function () {
// 确保 Turn.js 和 jQuery 已加载
setisloading(true);
setTimeout(function () {
if (window.$ && window.$.fn.turn) {
// 初始化 Turn.js
$(flipbookRef.current).turn({
width: 800,
width: 1200,
height: '100%',
autoCenter: true
});
setisloading(false);
} else {
console.error('Turn.js 或 jQuery 未加载!');
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save