mirror of
https://github.com/AIDotNet/AntSK.git
synced 2026-02-17 22:10:14 +08:00
fix 修改函数名
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
<ListItem NoFlex>
|
||||
@if (string.IsNullOrEmpty(context.Id))
|
||||
{
|
||||
<Button Type="dashed" class="newButton" @onclick="NavigateToKmsDetail">
|
||||
<Button Type="dashed" class="newButton" @onclick="NavigateToAddApp">
|
||||
<Icon Type="plus" Theme="outline" /> 创建应用
|
||||
</Button>
|
||||
}
|
||||
@@ -61,8 +61,5 @@
|
||||
Operate2,
|
||||
};
|
||||
|
||||
private void NavigateToKmsDetail()
|
||||
{
|
||||
NavigationManager.NavigateTo("/app/add");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -32,5 +32,10 @@ namespace AntSK.Pages
|
||||
list.AddRange(data);
|
||||
_data = list.ToArray();
|
||||
}
|
||||
|
||||
private void NavigateToAddApp()
|
||||
{
|
||||
NavigationManager.NavigateTo("/app/add");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<ListItem NoFlex>
|
||||
@if (string.IsNullOrEmpty(context.Id))
|
||||
{
|
||||
<Button Type="dashed" class="newButton" @onclick="NavigateToKmsDetail">
|
||||
<Button Type="dashed" class="newButton" @onclick="NavigateToAddKms">
|
||||
<Icon Type="plus" Theme="outline" /> 创建应用
|
||||
</Button>
|
||||
}
|
||||
@@ -64,8 +64,5 @@
|
||||
Operate2,
|
||||
};
|
||||
|
||||
private void NavigateToKmsDetail()
|
||||
{
|
||||
NavigationManager.NavigateTo("/kms/add");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -19,9 +19,9 @@ namespace AntSK.Pages
|
||||
Xxl = 4
|
||||
};
|
||||
|
||||
private Kmss [] _data = { };
|
||||
private Kmss[] _data = { };
|
||||
|
||||
[Inject]
|
||||
[Inject]
|
||||
protected IKmss_Repositories _kmss_Repositories { get; set; }
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
@@ -32,5 +32,14 @@ namespace AntSK.Pages
|
||||
list.AddRange(data);
|
||||
_data = list.ToArray();
|
||||
}
|
||||
|
||||
private void NavigateToAddKms()
|
||||
{
|
||||
NavigationManager.NavigateTo("/kms/add");
|
||||
}
|
||||
|
||||
private void Search(string searchKey)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user