log日志bug修改
This commit is contained in:
@@ -47,6 +47,7 @@ namespace TestingModule.ViewModels
|
||||
}
|
||||
#endregion
|
||||
private ScopedContext _ScopedContext;
|
||||
private GlobalInfo _globalInfo;
|
||||
#region 命令
|
||||
public ICommand CancelEditCommand { get; set; }
|
||||
public ICommand SaveStepCommand { get; set; }
|
||||
@@ -54,6 +55,7 @@ namespace TestingModule.ViewModels
|
||||
public SingleStepEditViewModel(IContainerProvider containerProvider, ScopedContext scopedContext) : base(containerProvider)
|
||||
{
|
||||
_ScopedContext = scopedContext;
|
||||
_globalInfo=containerProvider.Resolve<GlobalInfo>();
|
||||
_eventAggregator.GetEvent<EditSetpEvent>().Subscribe(EditSingleStep);
|
||||
CancelEditCommand = new DelegateCommand(CancelEdit);
|
||||
SaveStepCommand = new DelegateCommand(SaveStep);
|
||||
@@ -100,7 +102,7 @@ namespace TestingModule.ViewModels
|
||||
}
|
||||
catch
|
||||
{
|
||||
LoggerHelper.ErrorWithNotify("循环指令参数设置错误:类型转换失败");
|
||||
LoggerHelper.ErrorWithNotify(_globalInfo.CurrentScope,"循环指令参数设置错误:类型转换失败");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user