Skip to content

Commit

Permalink
feat:add auth common api_host (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-liang0615 authored Dec 19, 2023
1 parent fe22e36 commit aa98a30
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmdb-ui/src/views/setting/auth/common.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
"
/>
</a-form-model-item>
<a-form-model-item
label="API服务地址"
prop="api_host"
help="如果服务的部署没使用DNS, 如果要启用CAS、OAuth2.0、OIDC的,则须填API服务地址"
>
<a-input v-model="form.api_host" placeholder="http://127.0.0.1:5000" />
</a-form-model-item>
</a-form-model>
</template>

Expand All @@ -29,6 +36,7 @@ export default {
wrapperCol: { span: 10 },
form: {
auto_redirect: 0,
api_host: '',
},
rules: {
auto_redirect: [{ required: true }],
Expand Down

0 comments on commit aa98a30

Please sign in to comment.