Auto Submit

dev_local_v9_beifangminzu
autosubmit 2 years ago
parent 1b29a1ed2b
commit 16e4c976ad

File diff suppressed because one or more lines are too long

@ -1,12 +1,12 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16404],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[82709],{
/***/ 16404:
/***/ 82709:
/*!****************************************************************!*\
!*** ./node_modules/_dompurify@2.5.5@dompurify/dist/purify.js ***!
!*** ./node_modules/_dompurify@2.5.6@dompurify/dist/purify.js ***!
\****************************************************************/
/***/ (function(module) {
/*! @license DOMPurify 2.5.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.5/LICENSE */
/*! @license DOMPurify 2.5.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.5.6/LICENSE */
(function (global, factory) {
true ? module.exports = factory() :
@ -294,7 +294,7 @@
* Version label, exposed for easier checks
* if DOMPurify is up to date or not
*/
DOMPurify.version = '2.5.5';
DOMPurify.version = '2.5.6';
/**
* Array of elements that DOMPurify removed during sanitation.
@ -1156,6 +1156,13 @@
hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set
_executeHook('uponSanitizeAttribute', currentNode, hookEvent);
value = hookEvent.attrValue;
/* Work around a security issue with comments inside attributes */
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
_removeAttribute(name, currentNode);
continue;
}
/* Did the hooks approve of the attribute? */
if (hookEvent.forceKeepAttr) {
continue;
@ -1175,12 +1182,6 @@
continue;
}
/* Work around a security issue with comments inside attributes */
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
_removeAttribute(name, currentNode);
continue;
}
/* Sanitize attribute content to be template-safe */
if (SAFE_FOR_TEMPLATES) {
value = stringReplace(value, MUSTACHE_EXPR$1, ' ');

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

@ -825,6 +825,20 @@ var CuttOffNowShixun = function CuttOffNowShixun(_ref) {
});
}
}];
// 初始化
var init = function init() {
setTabKey('public');
setIsDelay(0);
setQuery({
page: 0,
page_size: 20,
search: ""
});
setHasMore(true);
groupIdsInitialValues = [];
form.resetFields();
};
function onSubmit(_x) {
return _onSubmit.apply(this, arguments);
}
@ -852,7 +866,7 @@ var CuttOffNowShixun = function CuttOffNowShixun(_ref) {
res = _context3.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
message/* default */.ZP.success('发布成功');
groupIdsInitialValues = [];
init();
dispatch({
type: 'attachment/setActionTabs',
payload: {}
@ -898,6 +912,7 @@ var CuttOffNowShixun = function CuttOffNowShixun(_ref) {
form.submit();
},
onCancel: function onCancel() {
init();
dispatch({
type: 'attachment/setActionTabs',
payload: {}

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