From 9d878056f880a8f110908444b064a72141fa7c0b Mon Sep 17 00:00:00 2001 From: yutent Date: Thu, 26 Sep 2024 18:45:09 +0800 Subject: [PATCH] fixed --- dist/views/request.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {