mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 02:29:24 +08:00
优化部分JS前端模块,后期统一按此结构调整
This commit is contained in:
@@ -92,9 +92,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