feat: 完善一处log
This commit is contained in:
parent
1abb39e7a5
commit
0d2a3a2f94
|
|
@ -1498,7 +1498,7 @@ class CascadeStore extends RowStore_1.RowStore {
|
|||
}
|
||||
else {
|
||||
// 如果没有更新到行,说明这些数据还在modi当中
|
||||
(0, assert_1.default)(count === 0, 'update成功的行数只能为id所在行数或者0');
|
||||
(0, assert_1.default)(count === 0, `update成功的行数只能为id所在行数或者0,得到: ${count}, ids: ${ids.join(',')}`);
|
||||
return await createModi();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1799,7 +1799,7 @@ export abstract class CascadeStore<ED extends EntityDict & BaseEntityDict> exten
|
|||
}
|
||||
else {
|
||||
// 如果没有更新到行,说明这些数据还在modi当中
|
||||
assert(count === 0, 'update成功的行数只能为id所在行数或者0');
|
||||
assert(count === 0, `update成功的行数只能为id所在行数或者0,得到: ${count}, ids: ${ids.join(',')}`);
|
||||
return await createModi();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue