zhaolei
2020-11-20 921de2254ff5712a44ed8575ee8efe34252f6603
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@typeparam TItem
@inherits SubmitModalBase<TItem>
 
<Modal Id="@Id" Title="@Title" Size="@Size">
    <ModalBody>
        <LgbEditForm class="form-inline" Id="@Id" Model="Model" OnValidSubmit="OnValidSubmit" OnInvalidSubmit="OnInvalidSubmit" OnSubmit="OnSubmit">
            @ModalBody
        </LgbEditForm>
    </ModalBody>
    <ModalFooter>
        <button type="button" class="btn btn-secondary" data-dismiss="modal">
            <i class="fa fa-times"></i>
            <span>关闭</span>
        </button>
        <button type="button" class="btn btn-primary" onclick="$.submitForm(this)">
            <i class="fa fa-save"></i>
            <span>保存</span>
        </button>
    </ModalFooter>
</Modal>