Skip to content

Commit

Permalink
fix #240
Browse files Browse the repository at this point in the history
  • Loading branch information
jqhph committed Jun 21, 2020
1 parent f8ca80a commit 1adbfe8
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 9 deletions.
6 changes: 6 additions & 0 deletions resources/assets/dcat/extra/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,8 @@
$wrap.find('.queueList').css({'border': '1px solid #d3dde5', 'padding':'5px'});
// $wrap.find('.queueList').removeAttr('style');
}

setTimeout(removeValidatorErrors, 1);
break;

case 'uploading':
Expand Down Expand Up @@ -796,6 +798,10 @@
uploader.refresh();
}

function removeValidatorErrors() {
$input.parents('.form-group,.form-label-group,.form-field').find('.with-errors').html('')
}

// 文件排序
function orderFiles() {
var $this = $(this),
Expand Down
2 changes: 1 addition & 1 deletion resources/assets/dcat/sass/components/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ select.form-control:not([multiple=multiple]) {
}

.control-label.asterisk:before {
content: "*";
content: "* ";
font-weight: bold;
color: $red-darker;
}
Expand Down
3 changes: 2 additions & 1 deletion resources/assets/dcat/sass/components/_grid-selector.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@

.custom-data-table {
.grid-selector {
padding: 2px;
padding: 2px 0;
margin: .35rem 0 -.5rem;

.wrap {
border-bottom: 0;
Expand Down
2 changes: 1 addition & 1 deletion resources/dist/dcat/css/dcat-app-blue-dark.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/dist/dcat/css/dcat-app-blue-light.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/dist/dcat/css/dcat-app-blue.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/dist/dcat/css/dcat-app-green.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/dist/dcat/css/dcat-app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/dist/dcat/extra/upload.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/dist/dcat/extra/upload.js.map

Large diffs are not rendered by default.

0 comments on commit 1adbfe8

Please sign in to comment.