Пример #1
0
        async void OnDelUser(object sender, Mi e)
        {
            if (!await Kit.Confirm($"确认要删除[{e.Row.Str("name")}]吗?"))
            {
                Kit.Msg("已取消删除!");
                return;
            }

            if (await AtCm.DeleteBySvc(e.Data.To <User>()))
            {
                LoadAll();
            }
        }