mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修复可能出现移动或者创建环境变量出错
This commit is contained in:
parent
b31b054d0c
commit
8ac3f83c79
|
@ -103,7 +103,7 @@ export default class EnvService {
|
|||
let position = initPosition;
|
||||
for (const env of envs) {
|
||||
position = position - stepPosition;
|
||||
await this.updateDb({ ...env, position });
|
||||
await this.updateDb({ id: env.id, position });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user