This commit is contained in:
2026-07-24 17:29:56 +07:00
parent e9cc3e3007
commit 16a107827a
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ async function uploadFile(file: File | null, filename: string): Promise<string>
async function updateScenario() {
let resUploadFilename = ''
if (fileList.value.length > 0) {
if (fileList.value && fileList.value.length > 0) {
const file = fileList.value[0].file || null
if (file == null) {
return