Auto Submit

dev_local_v9_haijunshiguan_net
autosubmit 2 years ago
parent 7adcf9fe1d
commit 00266133bb

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

@ -1299,8 +1299,8 @@ body[data-custom='auto'] {
}
.CheckboxGroup___FNUx8 {
flex: 1 1;
margin-top: 16px;
padding-left: 16px;
margin-top: 16px !important;
padding-left: 16px !important;
display: flex;
flex-direction: column;
gap: 16px;

@ -236,29 +236,33 @@ var Page = function Page(_ref) {
onClick: function onClick() {
PreviewClick.current(data);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
onClick: function onClick(e) {
e.stopPropagation();
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
value: data === null || data === void 0 ? void 0 : data.id,
checked: valuesId === null || valuesId === void 0 ? void 0 : valuesId.includes(data === null || data === void 0 ? void 0 : data.id),
onChange: function onChange(e) {
var ids = valuesId;
if (e.target.checked) {
ids = [].concat(toConsumableArray_default()(ids), [data === null || data === void 0 ? void 0 : data.id]);
} else {
ids = valuesId.filter(function (item) {
return item != (data === null || data === void 0 ? void 0 : data.id);
});
}
_onChange(ids);
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
wrap: false,
gutter: 16,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
onClick: function onClick(e) {
e.stopPropagation();
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
value: data === null || data === void 0 ? void 0 : data.id,
checked: valuesId === null || valuesId === void 0 ? void 0 : valuesId.includes(data === null || data === void 0 ? void 0 : data.id),
onChange: function onChange(e) {
var ids = valuesId;
if (e.target.checked) {
ids = [].concat(toConsumableArray_default()(ids), [data === null || data === void 0 ? void 0 : data.id]);
} else {
ids = valuesId.filter(function (item) {
return item != (data === null || data === void 0 ? void 0 : data.id);
});
}
_onChange(ids);
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: 1,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "flex-container",
style: {
marginLeft: 8
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: data === null || data === void 0 ? void 0 : data.name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -280,7 +284,7 @@ var Page = function Page(_ref) {
children: "\u5DF2\u516C\u5F00"
})]
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: data === null || data === void 0 ? void 0 : data.description,
overlayStyle: {

@ -7300,7 +7300,8 @@ var Banner = function Banner(_ref) {
res = _context10.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0 || (res === null || res === void 0 ? void 0 : res.status) === 1) {
reloadData();
message/* default */.ZP.success('发布成功');
handleApplyPublish();
// message.success('发布成功');
}
// Modal.confirm({
// centered: true,

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