diff --git a/web/src/management/pages/edit/setterConfig/baseFormConfig.js b/web/src/management/pages/edit/setterConfig/baseFormConfig.js index b3e83294..275269cd 100644 --- a/web/src/management/pages/edit/setterConfig/baseFormConfig.js +++ b/web/src/management/pages/edit/setterConfig/baseFormConfig.js @@ -28,6 +28,7 @@ export default { type: 'CustomedSwitch' }, interview_pwd: { + key: 'baseConf.password', type: 'InputSetter', placeholder: '请输入6位字符串类型访问密码 ', maxLength: 6, @@ -70,7 +71,7 @@ export default { type: 'WhiteList', custom: true, // 自定义导入高级组件 relyFunc: (data) => { - return data.whitelistType == 'CUSTOM' + return data.whitelistType === 'CUSTOM' } }, team_list: { @@ -79,7 +80,7 @@ export default { type: 'TeamMemberList', custom: true, // 自定义导入高级组件 relyFunc: (data) => { - return data.whitelistType == 'MEMBER' + return data.whitelistType === 'MEMBER' } } } diff --git a/web/src/materials/setters/widgets/CustomedSwitch.vue b/web/src/materials/setters/widgets/CustomedSwitch.vue index bb4ad191..9562e643 100644 --- a/web/src/materials/setters/widgets/CustomedSwitch.vue +++ b/web/src/materials/setters/widgets/CustomedSwitch.vue @@ -2,7 +2,7 @@