diff --git a/dist/views/request.js b/dist/views/request.js index 560b1a3..31a606b 100644 --- a/dist/views/request.js +++ b/dist/views/request.js @@ -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 {