mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
fix pipeline
This commit is contained in:
@@ -28,7 +28,7 @@ variables:
|
|||||||
project: $(Build.SourcesDirectory)/src/Snap.Hutao/Snap.Hutao/Snap.Hutao.csproj'
|
project: $(Build.SourcesDirectory)/src/Snap.Hutao/Snap.Hutao/Snap.Hutao.csproj'
|
||||||
buildPlatform: 'x64'
|
buildPlatform: 'x64'
|
||||||
buildConfiguration: 'Release'
|
buildConfiguration: 'Release'
|
||||||
build_date: $[ format('{0:yyyy}.{0:MM}.{0:dd}', pipeline.startTime) ]
|
build_date: $[ format('{0:yyyy}.{0:M}.{0:d}', pipeline.startTime) ]
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -120,6 +120,12 @@ internal class UserViewModel : ObservableObject
|
|||||||
switch (optionResult)
|
switch (optionResult)
|
||||||
{
|
{
|
||||||
case UserOptionResult.Added:
|
case UserOptionResult.Added:
|
||||||
|
if (Users!.Count == 1)
|
||||||
|
{
|
||||||
|
await ThreadHelper.SwitchToMainThreadAsync();
|
||||||
|
SelectedUser = Users.Single();
|
||||||
|
}
|
||||||
|
|
||||||
infoBarService.Success($"用户 [{uid}] 添加成功");
|
infoBarService.Success($"用户 [{uid}] 添加成功");
|
||||||
break;
|
break;
|
||||||
case UserOptionResult.Incomplete:
|
case UserOptionResult.Incomplete:
|
||||||
|
|||||||
Reference in New Issue
Block a user