Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nuxt-backend-helper
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王曜嵚 Wang Yaoqin
nuxt-backend-helper
Commits
830aaca7
Commit
830aaca7
authored
Nov 08, 2024
by
王曜嵚 Wang Yaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev: 修复v1运行时编译v2的问题
parent
be14b492
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
compile.post.ts
server/api/devops/v2/compile.post.ts
+1
-1
No files found.
server/api/devops/v2/compile.post.ts
View file @
830aaca7
...
...
@@ -11,7 +11,7 @@ export default defineEventHandler(async (event) => {
const
rowV1
=
await
getPgTableData
(
'v1'
,
username
)
if
(
rowV1
?.
status
===
'launched'
)
{
await
changeProjectStatus
(
'v
2
'
,
username
,
'status'
,
'compiled'
)
await
changeProjectStatus
(
'v
1
'
,
username
,
'status'
,
'compiled'
)
}
// TODO: 在后端发送 websocket 通知前端状态变更
// 每次编译前把已有的 tenants_config 文件夹拷贝到一个地方,编译完成后,再拷贝回来
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment