@page "/_Admin/FrameworkCustom/Create" @using wtmProject.ViewModel._Admin.FrameworkCustomVMs; @inherits BasePage @code { private FrameworkCustomVM Model = new FrameworkCustomVM(); private ValidateForm vform { get; set; } protected override async Task OnInitializedAsync() { await base.OnInitializedAsync(); } private async Task Submit(EditContext context) { await PostsForm(vform, "/api/FrameworkCustom/add", (s) => "Sys.OprationSuccess"); } public void OnClose() { CloseDialog(); } }