fixed
parent
ad803ebd07
commit
9d878056f8
|
@ -258,10 +258,10 @@ class Request extends Component {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else if (act === 'accept') {
|
} else if (act === 'accept') {
|
||||||
req = layer.prompt('请输入文件目录', 'dist').then(dist => {
|
req = layer.prompt('请输入文件目录', 'dist').then(dist_path => {
|
||||||
return fetch(`/package/${act}/${encodeURIComponent(id)}`, {
|
return fetch(`/package/${act}/${encodeURIComponent(id)}`, {
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
body: { dist }
|
body: { dist_path }
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue