测试用例修改

This commit is contained in:
sjl
2025-07-25 14:15:26 +08:00
parent f670802868
commit c47d524f9d
24 changed files with 118 additions and 49 deletions

View File

@@ -64,9 +64,11 @@ const open = (row: any) => {
}
// 上传
const choose = (e: any) => {
ElMessage.info('上传中,请稍等...')
const loadingMessage = ElMessage.info({ message: '上传中,请稍等...', duration: 0 }); // duration: 0 表示不自动关闭
uploadFile(e.raw, '/supervision/').then((row: any) => {
addStandardCase({ caseUrl: row.data.name }).then(res => {
loadingMessage.close(); // 关闭 "上传中" 提示
ElMessage.success('上传成功!')
queryStandardCase().then(res => {
open(res.data)