Compare commits

...

3 Commits

Author SHA1 Message Date
Karson 30c803f761
!508 修复重置按钮多选没有清空的问题
Merge pull request !508 from 御宅男(YznCMS官方)/Branch_f804c8a6
2025-08-18 02:16:34 +00:00
Karson e24cefeffc 优化后台边栏右侧图标位置 2025-08-18 10:04:11 +08:00
ken678 87710c0a18 修复重置按钮多选没有清空的问题 2025-08-14 17:43:29 +08:00
3 changed files with 19 additions and 6 deletions

View File

@ -714,6 +714,8 @@ a:focus {
.sidebar-menu li > a > .pull-right-container {
position: absolute;
right: 10px;
}
.sidebar-collapse .sidebar-menu li > a > .pull-right-container {
top: 50%;
margin-top: -7px;
}
@ -1424,7 +1426,7 @@ select.form-control {
.input-lg + .form-control-feedback.fa,
.input-group-lg + .form-control-feedback.fa,
.form-group-lg .form-control + .form-control-feedback.fa {
line-height: 45px;
line-height: 44px;
}
.input-sm + .form-control-feedback.fa,
.input-group-sm + .form-control-feedback.fa,

View File

@ -134,9 +134,13 @@ define(['jquery', 'bootstrap', 'upload', 'validator', 'validator-lang'], functio
$(form).on("reset", function () {
setTimeout(function () {
$(".selectpage", form).each(function () {
var selectpage = $(this).data("selectPageObject");
selectpage.elem.hidden.val($(this).val());
$(this).selectPageRefresh();
if($(this).val()){
var selectpage = $(this).data("selectPageObject");
selectpage.elem.hidden.val($(this).val());
$(this).selectPageRefresh();
}else{
$(this).selectPageClear();
}
});
}, 1);
});

View File

@ -164,8 +164,15 @@
> .pull-right-container {
position: absolute;
right: 10px;
top: 50%;
margin-top: -7px;
}
}
.sidebar-collapse {
.sidebar-menu li > a {
> .pull-right-container {
top: 50%;
margin-top: -7px;
}
}
}