mirror of https://github.com/veops/cmdb.git
feat:add auth common api_host (#319)
This commit is contained in:
parent
3a760c3a80
commit
b61c14ba07
|
@ -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>
|
||||
|
||||
|
@ -29,6 +36,7 @@ export default {
|
|||
wrapperCol: { span: 10 },
|
||||
form: {
|
||||
auto_redirect: 0,
|
||||
api_host: '',
|
||||
},
|
||||
rules: {
|
||||
auto_redirect: [{ required: true }],
|
||||
|
|
Loading…
Reference in New Issue