mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 23:19:09 +08:00
feat:add auth common api_host (#319)
This commit is contained in:
@@ -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 }],
|
||||
|
Reference in New Issue
Block a user