chore: 🔨 合并冲突解决

This commit is contained in:
ray
2024-08-02 00:47:49 +08:00
2 changed files with 28 additions and 6 deletions

View File

@@ -447,7 +447,17 @@ function handleNextClick() {
loadingText.value = "loading...";
});
} else {
if (active.value++ >= 2) active.value = 2;
if (active.value++ >= 2) {
active.value = 2;
}
if (active.value === 2) {
const tableName = formData.value.tableName;
if (!tableName) {
ElMessage.error("表名不能为空");
return;
}
GeneratorAPI.downloadZip(tableName, "youlai-admin-code.zip");
}
}
}