mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-18 02:14:32 +08:00
修复 linux 依赖是否存在判断
This commit is contained in:
@@ -290,7 +290,7 @@ const Dependence = () => {
|
||||
const handleDependence = (dependence: any) => {
|
||||
const result = [...value];
|
||||
if (Array.isArray(dependence)) {
|
||||
result.push(...dependence);
|
||||
result.unshift(...dependence);
|
||||
} else {
|
||||
const index = value.findIndex((x) => x.id === dependence.id);
|
||||
if (index !== -1) {
|
||||
|
||||
Reference in New Issue
Block a user