Skip to content

Commit

Permalink
feat(sys-client): start app while created;
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Nov 1, 2021
1 parent a69ed61 commit 2308451
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ services:
SYS_SERVER_SECRET_SALT: Rewrite_Your_Own_Secret_Salt_abcdefg1234567
SHARED_NETWORK: laf_shared_network
LOG_LEVEL: debug
APP_SERVICE_IMAGE: lafyun/app-service:latest
APP_SERVICE_IMAGE: lafyun/app-service:0.6.4
ACCOUNT_DEFAULT_APP_QUOTA: 5
APP_SERVICE_DEPLOY_HOST: local-dev.host:8080 # `*.local-dev.host` always resolved to 127.0.0.1, used to local development
APP_SERVICE_DEPLOY_URL_SCHEMA: 'http'
Expand Down
5 changes: 3 additions & 2 deletions packages/system-client/src/views/application/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export default {
// 执行创建请求
const res = await createApplication({ name: data.name })
if (!res.data?.insertedId) {
if (!res.data?.appid) {
this.$notify({
type: 'error',
title: '操作失败',
Expand All @@ -306,7 +306,8 @@ export default {
message: '创建成功!'
})
this.loadApps()
this.serviceLoading = true
this.startApp(res.data)
this.dialogFormVisible = false
})
},
Expand Down

0 comments on commit 2308451

Please sign in to comment.