feat: add detectConfig
This commit is contained in:
parent
f993b2466e
commit
93cd7cf979
@ -70,6 +70,17 @@ export class QueryConfig {
|
|||||||
data,
|
data,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 检测配置是否存在
|
||||||
|
* @param id
|
||||||
|
* @returns
|
||||||
|
*/
|
||||||
|
async detectConfig() {
|
||||||
|
return this.post<{ updateList: Config[] }>({
|
||||||
|
key: 'detect',
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user