Skip to content

Commit

Permalink
fix:some bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vastsa committed Dec 20, 2024
1 parent 5238975 commit 63b5be3
Show file tree
Hide file tree
Showing 47 changed files with 245 additions and 241 deletions.
1 change: 0 additions & 1 deletion fcb-fronted/src/views/Admin/SettingView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<el-form-item size="large" :label="t('admin.settings.themeSelect')" >
<el-select
v-model="config.themesSelect"
multiple
style="width: 100%"
>
<el-option v-for="item in config.themesChoices" :label="item.name" :value="item.key" />
Expand Down
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async def load_config():
},
},
},
generate_schemas=False, # 我们已经在 init_db 中生成了 schema
generate_schemas=False,
add_exception_handlers=True,
)

Expand Down Expand Up @@ -116,6 +116,8 @@ async def robots():
@app.post('/')
async def get_config():
return APIResponse(detail={
'name': settings.name,
'description': settings.description,
'explain': settings.page_explain,
'uploadSize': settings.uploadSize,
'expireStyle': settings.expireStyle,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 63b5be3

Please sign in to comment.