mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-18 16:32:28 +00:00
Merge branch 'dev' of github.com:jumpserver/lina into dev
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<el-col :md="10" :sm="24">
|
||||
<QuickActions :actions="quickActions" type="primary" />
|
||||
<RelationCard v-bind="relationConfig" type="info" style="margin-top: 15px" />
|
||||
<RelationCard v-if="this.$store.getters.publicSettings.LOGIN_CONFIRM_ENABLE" v-bind="loginConfirmSetting" type="info" style="margin-top: 15px" />
|
||||
<RelationCard v-if="this.$store.getters.publicSettings.LOGIN_CONFIRM_ENABLE" v-bind="loginConfirmSetting" type="danger" style="margin-top: 15px" />
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
@@ -204,7 +204,7 @@ export default {
|
||||
const objectId = this.object.id
|
||||
const relationUrl = `/api/v1/authentication/login-confirm-settings/${objectId}/`
|
||||
const data = {
|
||||
reviewers: [...this.object.login_confirm_settings, ...items.map(v => {
|
||||
reviewers: [...this.object.login_confirm_settings || [], ...items.map(v => {
|
||||
return v.value
|
||||
})]
|
||||
}
|
||||
|
Reference in New Issue
Block a user