mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-22 04:54:32 +08:00
修改脚本详情和日志详情接口
This commit is contained in:
@@ -55,7 +55,11 @@ const Log = () => {
|
||||
|
||||
const getLog = (node: any) => {
|
||||
request
|
||||
.get(`${config.apiPrefix}logs/${node.title}?path=${node.parent || ''}`)
|
||||
.get(
|
||||
`${config.apiPrefix}logs/detail?file=${node.title}&path=${
|
||||
node.parent || ''
|
||||
}`,
|
||||
)
|
||||
.then(({ code, data }) => {
|
||||
if (code === 200) {
|
||||
setValue(data);
|
||||
|
||||
Reference in New Issue
Block a user