Commit 830aaca7 authored by 王曜嵚 Wang Yaoqin's avatar 王曜嵚 Wang Yaoqin

dev: 修复v1运行时编译v2的问题

parent be14b492
......@@ -11,7 +11,7 @@ export default defineEventHandler(async (event) => {
const rowV1 = await getPgTableData('v1', username)
if (rowV1?.status === 'launched') {
await changeProjectStatus('v2', username, 'status', 'compiled')
await changeProjectStatus('v1', username, 'status', 'compiled')
}
// TODO: 在后端发送 websocket 通知前端状态变更
// 每次编译前把已有的 tenants_config 文件夹拷贝到一个地方,编译完成后,再拷贝回来
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment