必填的项增加星号
This commit is contained in:
@ -322,6 +322,11 @@
|
||||
}
|
||||
|
||||
/** 表单验证 样式布局 **/
|
||||
.control-label.is-required:before {
|
||||
content: '* ';
|
||||
color: red;
|
||||
}
|
||||
|
||||
label.error {
|
||||
position: absolute;
|
||||
right: 18px;
|
||||
|
@ -394,7 +394,7 @@ var table = {
|
||||
var index = layer.load(2, {shade: false});
|
||||
$.modal.disable();
|
||||
var formData = new FormData();
|
||||
formData.append("file", $('#file')[0].files[0]);
|
||||
formData.append("file", layero.find('#file')[0].files[0]);
|
||||
formData.append("updateSupport", $("input[name='updateSupport']").is(':checked'));
|
||||
$.ajax({
|
||||
url: table.options.importUrl,
|
||||
|
Reference in New Issue
Block a user