mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
Routine Update
This commit is contained in:
@@ -91,9 +91,9 @@ namespace OpenAuth.App
|
||||
{
|
||||
Module model = new Module();
|
||||
vm.CopyTo(model); //copy一次,防止成员为null的情况
|
||||
ChangeModuleCascade(model);
|
||||
if (model.Id == 0)
|
||||
{
|
||||
ChangeModuleCascade(model);
|
||||
_repository.Add(model);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user