From 29b37b7ed095aed7d843199acefd25a4aa0e4599 Mon Sep 17 00:00:00 2001 From: sudoooooo Date: Tue, 23 Jul 2024 22:50:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=99=BD=E5=90=8D?= =?UTF-8?q?=E5=8D=95=E5=AF=86=E7=A0=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/edit/setterConfig/baseFormConfig.js | 5 +++-- .../materials/setters/widgets/CustomedSwitch.vue | 14 +++++++++++++- 2 files changed, 16 insertions(+), 3 deletions(-) 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 @@