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