mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-18 13:28:21 +08:00
修复可能出现移动或者创建环境变量出错
This commit is contained in:
@@ -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 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user