mirror of https://gitee.com/karson/fastadmin.git
Pre Merge pull request !508 from 御宅男(YznCMS官方)/Branch_f804c8a6
commit
178f94741b
|
|
@ -134,9 +134,13 @@ define(['jquery', 'bootstrap', 'upload', 'validator', 'validator-lang'], functio
|
||||||
$(form).on("reset", function () {
|
$(form).on("reset", function () {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
$(".selectpage", form).each(function () {
|
$(".selectpage", form).each(function () {
|
||||||
var selectpage = $(this).data("selectPageObject");
|
if($(this).val()){
|
||||||
selectpage.elem.hidden.val($(this).val());
|
var selectpage = $(this).data("selectPageObject");
|
||||||
$(this).selectPageRefresh();
|
selectpage.elem.hidden.val($(this).val());
|
||||||
|
$(this).selectPageRefresh();
|
||||||
|
}else{
|
||||||
|
$(this).selectPageClear();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}, 1);
|
}, 1);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue