mirror of
https://github.com/jumpserver/lina.git
synced 2025-10-21 23:59:22 +00:00
fix: 修复编辑出问题的bug
perf: 优化嵌套的form perf: 优化嵌套的form perf: 优化其那套form perf: 优化nestfield, 但报错存在问题 perf: 优化
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
import { GenericCreateUpdatePage } from '@/layout/components'
|
||||
import UserPassword from '@/components/UserPassword'
|
||||
import RoleCheckbox from '@/views/users/User/components/RoleCheckbox'
|
||||
import { getDayFuture } from '@/utils/common'
|
||||
import { mapGetters } from 'vuex'
|
||||
import rules from '@/components/DataForm/rules'
|
||||
|
||||
@@ -20,12 +19,12 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
initial: {
|
||||
password_strategy: 0,
|
||||
mfa_level: 0,
|
||||
role: 'User',
|
||||
source: 'local',
|
||||
org_roles: ['User'],
|
||||
date_expired: getDayFuture(36500, new Date()).toISOString()
|
||||
// password_strategy: 0,
|
||||
// mfa_level: 0,
|
||||
// role: 'User',
|
||||
// source: 'local',
|
||||
// org_roles: ['User'],
|
||||
// date_expired: getDayFuture(36500, new Date()).toISOString()
|
||||
},
|
||||
fields: [
|
||||
[this.$t('users.Account'), ['name', 'username', 'email', 'groups']],
|
||||
|
Reference in New Issue
Block a user