master
yutent 2024-09-26 18:45:09 +08:00
parent ad803ebd07
commit 9d878056f8
1 changed files with 2 additions and 2 deletions

View File

@ -258,10 +258,10 @@ class Request extends Component {
})
})
} else if (act === 'accept') {
req = layer.prompt('请输入文件目录', 'dist').then(dist => {
req = layer.prompt('请输入文件目录', 'dist').then(dist_path => {
return fetch(`/package/${act}/${encodeURIComponent(id)}`, {
method: 'PUT',
body: { dist }
body: { dist_path }
})
})
} else {