Auto Submit

dev_aliyun_xibeigongye
autosubmit 3 years ago
parent 0a4b46337b
commit 4c1e2b23a2

@ -974,6 +974,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -1091,6 +1093,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -563,10 +563,10 @@ a.ant-btn-disabled:active > a:only-child::after {background: transparent;}
.ant-comment-actions > li > span {color: @text-color-secondary;}
.ant-comment-actions > li > span:hover {color: #595959;}
.ant-picker-status-error.ant-picker, .ant-picker-status-error.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @error-color;}
.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;}
.ant-picker-status-error.ant-picker-focused, .ant-picker-status-error.ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;}
.ant-picker-status-error.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{error-color}", 5)`);}
.ant-picker-status-warning.ant-picker, .ant-picker-status-warning.ant-picker:not([disabled]):hover {background-color: #fff;border-color: @warning-color;}
.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;}
.ant-picker-status-warning.ant-picker-focused, .ant-picker-status-warning.ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;}
.ant-picker-status-warning.ant-picker .ant-picker-active-bar {background: color(~`colorPalette("@{warning-color}", 5)`);}
.ant-picker {color: @text-color;background: #fff;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-picker:hover, .ant-picker-focused {border-color: color(~`colorPalette("@{primary-color}", 5)`);border-right-width: 1px;}
@ -788,16 +788,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.anticon.ant-input-clear-icon:hover, .ant-input-clear-icon:hover {color: @text-color-secondary;}
.anticon.ant-input-clear-icon:active, .ant-input-clear-icon:active {color: @text-color;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @error-color;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;}
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;}
.ant-input-status-error .ant-input-prefix {color: @error-color;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {background: #fff;border-color: @warning-color;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;}
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus, .ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;}
.ant-input-status-warning .ant-input-prefix {color: @warning-color;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @error-color;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-error .ant-input-prefix {color: @error-color;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {background: #fff;border-color: @warning-color;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;}
.ant-input-affix-wrapper-status-warning .ant-input-prefix {color: @warning-color;}
.ant-input-group-wrapper-status-error .ant-input-group-addon {color: @error-color;border-color: @error-color;}
.ant-input-group-wrapper-status-warning .ant-input-group-addon {color: @warning-color;border-color: @warning-color;}
@ -894,16 +894,16 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-input-number-affix-wrapper > div.ant-input-number {border: none;}
.ant-input-number-affix-wrapper > div.ant-input-number.ant-input-number-focused {box-shadow: none !important;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @error-color;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;}
.ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-error:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;}
.ant-input-number-status-error .ant-input-number-prefix {color: @error-color;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:hover {background: #fff;border-color: @warning-color;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;}
.ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number:focus, .ant-input-number-status-warning:not(.ant-input-number-disabled):not(.ant-input-number-borderless).ant-input-number-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;}
.ant-input-number-status-warning .ant-input-number-prefix {color: @warning-color;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @error-color;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-error:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-error .ant-input-number-prefix {color: @error-color;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:hover {background: #fff;border-color: @warning-color;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper:focus, .ant-input-number-affix-wrapper-status-warning:not(.ant-input-number-affix-wrapper-disabled):not(.ant-input-number-affix-wrapper-borderless).ant-input-number-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;}
.ant-input-number-affix-wrapper-status-warning .ant-input-number-prefix {color: @warning-color;}
.ant-input-number-group-wrapper-status-error .ant-input-number-group-addon {color: @error-color;border-color: @error-color;}
.ant-input-number-group-wrapper-status-warning .ant-input-number-group-addon {color: @warning-color;border-color: @warning-color;}
@ -1024,10 +1024,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-list-grid .ant-col > .ant-list-item {border-bottom: none;}
.ant-list-bordered {border: 1px solid @border-color-base;border-radius: 2px;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @error-color;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;}
.ant-mentions-status-error .ant-input-prefix {color: @error-color;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {background: #fff;border-color: @warning-color;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus, .ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;}
.ant-mentions-status-warning .ant-input-prefix {color: @warning-color;}
.ant-mentions {color: @text-color;background-color: #fff;background-image: none;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-mentions::placeholder {color: #bfbfbf;}
@ -1058,10 +1058,10 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-mentions-dropdown-menu-item-active {background-color: #f5f5f5;}
.ant-menu-item-danger.ant-menu-item {color: @error-color;}
.ant-menu-item-danger.ant-menu-item:hover, .ant-menu-item-danger.ant-menu-item-active {color: @error-color;}
.ant-menu-item-danger.ant-menu-item:active {background: #fff1f0;}
.ant-menu-item-danger.ant-menu-item:active {background: color(~`colorPalette("@{modal-header-border-color-split}", 1)`);}
.ant-menu-item-danger.ant-menu-item-selected {color: @error-color;}
.ant-menu-item-danger.ant-menu-item-selected > a, .ant-menu-item-danger.ant-menu-item-selected > a:hover {color: @error-color;}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {background-color: #fff1f0;}
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {background-color: color(~`colorPalette("@{modal-header-border-color-split}", 1)`);}
.ant-menu-inline .ant-menu-item-danger.ant-menu-item::after {border-right-color: @error-color;}
.ant-menu-dark .ant-menu-item-danger.ant-menu-item, .ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover, .ant-menu-dark .ant-menu-item-danger.ant-menu-item > a {color: @error-color;}
.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {color: #fff;background-color: @error-color;}
@ -1360,9 +1360,9 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte
.ant-select-multiple .ant-select-selection-item-remove {color: inherit;color: @text-color-secondary;}
.ant-select-multiple .ant-select-selection-item-remove:hover {color: rgba(0, 0, 0, 0.75);}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @error-color !important;}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(180, 202, 204, 0.2);border-right-width: 1px;}
.ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-error.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);box-shadow: 0 0 0 2px rgba(179, 68, 16, 0.2);border-right-width: 1px;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer) .ant-select-selector {background-color: #fff;border-color: @warning-color !important;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(227, 14, 135, 0.2);border-right-width: 1px;}
.ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-open .ant-select-selector, .ant-select-status-warning.ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);box-shadow: 0 0 0 2px rgba(232, 215, 85, 0.2);border-right-width: 1px;}
.ant-select {color: @text-color;}
.ant-select:not(.ant-select-customize-input) .ant-select-selector {background-color: #fff;border: 1px solid @border-color-base;border-radius: 2px;}
.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {border-color: color(~`colorPalette("@{primary-color}", 5)`);box-shadow: 0 0 0 2px fade(@primary-color, 20%);border-right-width: 1px;}
@ -1640,7 +1640,7 @@ tr.ant-table-expanded-row:hover > td {background: #fbfbfb;}
.ant-tag-pink-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;}
.ant-tag-magenta {color: #c41d7f;background: #fff0f6;border-color: #ffadd2;}
.ant-tag-magenta-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;}
.ant-tag-red {color: #cf1322;background: #fff1f0;border-color: #ffa39e;}
.ant-tag-red {color: #cf1322;background: color(~`colorPalette("@{modal-header-border-color-split}", 1)`);border-color: #ffa39e;}
.ant-tag-red-inverse {color: #fff;background: #f5222d;border-color: #f5222d;}
.ant-tag-volcano {color: #d4380d;background: #fff2e8;border-color: #ffbb96;}
.ant-tag-volcano-inverse {color: #fff;background: #fa541c;border-color: #fa541c;}

@ -2434,6 +2434,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -2551,6 +2553,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -4490,6 +4490,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -4607,6 +4609,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -2377,6 +2377,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -2494,6 +2496,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -2013,6 +2013,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -2130,6 +2132,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -1103,6 +1103,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -1220,6 +1222,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -1792,6 +1792,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -1909,6 +1911,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);
@ -4351,7 +4360,7 @@ var es_button = __webpack_require__(71577);
// EXTERNAL MODULE: ./node_modules/antd/es/modal/style/index.js + 1 modules
var modal_style = __webpack_require__(35611);
// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 7 modules
var modal = __webpack_require__(85402);
var es_modal = __webpack_require__(85402);
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js
var objectSpread2 = __webpack_require__(42122);
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
@ -4731,7 +4740,7 @@ var Shixun = function Shixun(_ref) {
case 2:
res = _context2.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
modal/* default.info */.Z.info({
es_modal/* default.info */.Z.info({
title: "代码内容",
width: 900,
centered: true,
@ -4864,7 +4873,7 @@ var Shixun = function Shixun(_ref) {
});
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mb15"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, {
centered: true,
destroyOnClose: true,
open: !!visible,
@ -4890,6 +4899,8 @@ var Shixun = function Shixun(_ref) {
var input_style = __webpack_require__(69463);
// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules
var input = __webpack_require__(75008);
// EXTERNAL MODULE: ./src/components/markdown-editor/index.tsx + 10 modules
var markdown_editor = __webpack_require__(55373);
// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/Exercise/Review/component/SeeAnswer.tsx
var SeeAnswer = __webpack_require__(18707);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Review/component/Simple.tsx
@ -4902,13 +4913,24 @@ var SeeAnswer = __webpack_require__(18707);
var TextArea = input/* default.TextArea */.Z.TextArea;
var Simple = function Simple(_ref) {
var _item$user_answer, _item$user_answer2;
var _item$user_answer, _item$user_answer3;
var item = _ref.item,
answerData = _ref.answerData,
changeScoreData = _ref.changeScoreData,
@ -4926,6 +4948,47 @@ var Simple = function Simple(_ref) {
showEdit && setShowEdit(false);
}
}, [changeScoreData === null || changeScoreData === void 0 ? void 0 : changeScoreData[item === null || item === void 0 ? void 0 : item.q_position]]);
var handleSee = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(code) {
var modal;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
modal = es_modal/* default.confirm */.Z.confirm({
width: 1000,
icon: null,
className: "custom-modal-divider ant-modal-confirm-btns-hidden",
title: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "1",
children: "\u539F\u59CB\u5185\u5BB9"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "iconfont icon-yiguanbi1 current c-grey-c",
onClick: function onClick() {
return modal.destroy();
}
})
})]
}),
// okText:"关闭",
content: /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z, {
height: "70vh",
defaultValue: code || "",
hidetoolBar: true,
disabled: true
})
});
case 1:
case "end":
return _context.stop();
}
}, _callee);
}));
return function handleSee(_x) {
return _ref2.apply(this, arguments);
};
}();
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [document.domain === "kepukehuan.educoder.net" && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -4959,12 +5022,29 @@ var Simple = function Simple(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {})]
}), document.domain !== "kepukehuan.educoder.net" && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: componentmodules/* default.simpleBg */.Z.simpleBg,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: "font14 c-light-primary mb5",
children: "\u5B66\u751F\u7B54\u9898"
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: 1,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: "font14 c-light-primary mb5",
children: "\u5B66\u751F\u7B54\u9898"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.Z, {
style: {
marginRight: -12
},
type: "link",
onClick: function onClick() {
var _item$user_answer2;
return handleSee(item === null || item === void 0 ? void 0 : (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2[0]);
},
children: "\u67E5\u770B\u539F\u59CB\u5185\u5BB9"
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
value: (item === null || item === void 0 ? void 0 : (_item$user_answer2 = item.user_answer) === null || _item$user_answer2 === void 0 ? void 0 : _item$user_answer2[0]) || ''
value: (item === null || item === void 0 ? void 0 : (_item$user_answer3 = item.user_answer) === null || _item$user_answer3 === void 0 ? void 0 : _item$user_answer3[0]) || ''
})
}), (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(SeeAnswer/* SeeAnswer */.u, {
data: item
@ -5230,7 +5310,7 @@ var Program = function Program(_ref) {
pagination: false
})
}, "2")]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, {
centered: true,
destroyOnClose: true,
open: visible,
@ -6780,7 +6860,7 @@ var ExeriseReview = function ExeriseReview(_ref) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
onClick: function onClick() {
checkAssistant().then(function () {
modal/* default.confirm */.Z.confirm({
es_modal/* default.confirm */.Z.confirm({
title: "调分",
icon: null,
onOk: function () {
@ -6985,7 +7065,7 @@ var ExeriseReview = function ExeriseReview(_ref) {
_context5.next = 3;
break;
}
modal/* default.info */.Z.info({
es_modal/* default.info */.Z.info({
centered: true,
width: 470,
okText: '确定',
@ -7007,7 +7087,7 @@ var ExeriseReview = function ExeriseReview(_ref) {
toSkipUrl = function toSkipUrl() {
_umi_production_exports.history.replace("/classrooms/".concat(params.coursesId, "/exercise/").concat(params.exerciseId, "/centralizeReview/").concat(res === null || res === void 0 ? void 0 : res.login));
};
modal/* default.confirm */.Z.confirm({
es_modal/* default.confirm */.Z.confirm({
centered: true,
width: 470,
okText: '确定',
@ -7040,7 +7120,7 @@ var ExeriseReview = function ExeriseReview(_ref) {
_toSkipUrl = function _toSkipUrl() {
window.location.href = "/classrooms/".concat(params.coursesId, "/exercise/").concat(params.exerciseId, "/centralizeReview/").concat(res === null || res === void 0 ? void 0 : res.login);
};
modal/* default.confirm */.Z.confirm({
es_modal/* default.confirm */.Z.confirm({
centered: true,
width: 496,
okText: '确定',
@ -7061,7 +7141,7 @@ var ExeriseReview = function ExeriseReview(_ref) {
_context5.next = 14;
break;
}
modal/* default.info */.Z.info({
es_modal/* default.info */.Z.info({
centered: true,
width: 470,
okText: '确定',
@ -7076,7 +7156,7 @@ var ExeriseReview = function ExeriseReview(_ref) {
return _context5.abrupt("return", Promise.reject());
case 14:
if (res !== null && res !== void 0 && (_res$review_progress2 = res.review_progress) !== null && _res$review_progress2 !== void 0 && _res$review_progress2.message) {
modal/* default.info */.Z.info({
es_modal/* default.info */.Z.info({
centered: true,
width: 470,
okText: '确定',
@ -7087,7 +7167,7 @@ var ExeriseReview = function ExeriseReview(_ref) {
});
}
if ((res === null || res === void 0 ? void 0 : res.type) === 8 && !(reviewExercise !== null && reviewExercise !== void 0 && (_reviewExercise$revie2 = reviewExercise.review_progress) !== null && _reviewExercise$revie2 !== void 0 && _reviewExercise$revie2.next_login)) {
modal/* default.success */.Z.success({
es_modal/* default.success */.Z.success({
centered: true,
width: 470,
okText: '确定',
@ -7588,7 +7668,7 @@ var ExeriseReview = function ExeriseReview(_ref) {
if ((0,authority/* isAssistant */.Rm)() && !(classroomList !== null && classroomList !== void 0 && (_classroomList$Assist3 = classroomList.AssistantObject) !== null && _classroomList$Assist3 !== void 0 && (_classroomList$Assist4 = _classroomList$Assist3.exercise) !== null && _classroomList$Assist4 !== void 0 && _classroomList$Assist4.can_redo)) {
message/* default.warn */.ZP.warn('您未获取此权限,需向管理员申请权限才能使用此功能');
}
modal/* default.confirm */.Z.confirm({
es_modal/* default.confirm */.Z.confirm({
width: 500,
title: "提示",
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -8046,7 +8126,7 @@ var ExeriseReview = function ExeriseReview(_ref) {
data: saveData.current,
sealedReview: reviewExercise === null || reviewExercise === void 0 ? void 0 : (_reviewExercise$revie23 = reviewExercise.review_progress) === null || _reviewExercise$revie23 === void 0 ? void 0 : _reviewExercise$revie23.sealed_review
}), /*#__PURE__*/(0,jsx_runtime.jsx)(image_preview/* default */.Z, {})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ExportSetting/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ExportSetting/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, {
title: '导出试卷选择',
open: isReviewOpen,
footer: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -8079,7 +8159,7 @@ var ExeriseReview = function ExeriseReview(_ref) {
return setIsReviewOpen(false);
},
children: "\u662F\u5426\u8FDE\u540C\u8BC4\u9605\u6559\u5E08\u3001\u6559\u5E08\u8BC4\u8BED\u4E00\u8D77\u5BFC\u51FA\uFF1F"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, {
centered: true,
destroyOnClose: true,
title: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {

File diff suppressed because it is too large Load Diff

@ -3363,6 +3363,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -3480,6 +3482,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -2013,6 +2013,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -2130,6 +2132,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -2125,6 +2125,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -2242,6 +2244,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -3202,6 +3202,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -3319,6 +3321,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -3935,6 +3935,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -4052,6 +4054,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -1778,6 +1778,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -1895,6 +1897,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -2319,6 +2319,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -2436,6 +2438,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -2243,6 +2243,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -2360,6 +2362,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -2317,6 +2317,8 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
className = _ref$className === void 0 ? '' : _ref$className,
_ref$disablePaste = _ref.disablePaste,
disablePaste = _ref$disablePaste === void 0 ? false : _ref$disablePaste,
_ref$disabled = _ref.disabled,
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
_ref$placeholder = _ref.placeholder,
placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
_ref$values = _ref.values,
@ -2434,6 +2436,13 @@ var TitleDesc = (_TitleDesc = {}, defineProperty_default()(_TitleDesc, LINK, '
});
isFocus && instance.focus();
instance.on('paste', onPaste);
if (disabled) {
instance.on("beforeChange", function (instances, change) {
if (change.origin === "paste" || change.origin === "+input") {
change.cancel();
}
});
}
setCm(instance);
return function () {
instance.off('paste', onPaste);

@ -12180,6 +12180,9 @@ body .mask-tips {
padding: 8px 16px;
margin-top: 0 !important;
}
.custom-modal-divider.ant-modal-confirm-btns-hidden .ant-modal-confirm-btns {
display: none;
}
body {
width: 100% !important;
}

Loading…
Cancel
Save