fix: 修复创建性能测试查询文件是否存在的bug
This commit is contained in:
parent
8c965b2486
commit
41fe3cbe6b
|
@ -215,7 +215,7 @@ export default {
|
||||||
|
|
||||||
// 检查数据库是否存在同名文件
|
// 检查数据库是否存在同名文件
|
||||||
async function f() {
|
async function f() {
|
||||||
return await axios.post('/performance/file/' + getCurrentProjectID() + '/getMetadataByName', {filename: file.name})
|
return await axios.post('/performance/file/' + getCurrentProjectID() + '/getMetadataByName', {name: file.name})
|
||||||
}
|
}
|
||||||
|
|
||||||
await f().then(res => {
|
await f().then(res => {
|
||||||
|
|
Loading…
Reference in New Issue