fixed
parent
ad803ebd07
commit
9d878056f8
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue