From 769b6a40f108415293c9f1ffdf0cd77a4623c496 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 17 六月 2025 21:52:36 +0800 Subject: [PATCH] 2025-06-17 --- src/pc/components/login/normal-login/options.jsx | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/pc/components/login/normal-login/options.jsx b/src/pc/components/login/normal-login/options.jsx index 634d7bf..80628c0 100644 --- a/src/pc/components/login/normal-login/options.jsx +++ b/src/pc/components/login/normal-login/options.jsx @@ -171,6 +171,21 @@ {value: 'none', label: '鏃�'}, {value: 'remember', label: '璁颁綇瀵嗙爜'}, {value: 'autologon', label: '鑷姩鐧诲綍'}, + ], + controlFields: [ + {field: 'vispwd', values: ['remember', 'autologon']}, + ] + }, + { + type: 'radio', + field: 'vispwd', + label: '鏌ョ湅瀵嗙爜', + initval: wrap.vispwd || 'true', + tooltip: '瀵嗙爜鏄惁鍙煡鐪嬶紙瀵嗙爜妗嗗彸渚у浘鏍囨槸鍚︽樉绀猴級銆�', + required: false, + options: [ + {value: 'true', label: '鍚敤'}, + {value: 'false', label: '绂佺敤'}, ] }, { @@ -232,6 +247,7 @@ label: '鍗忚缁�', initval: wrap.groups || [], required: true, + actions: ['edit', 'del', 'add', 'move'], span: 24, columns: [ { @@ -248,7 +264,6 @@ dataIndex: 'link', inputType: 'input', editable: true, - unique: true, required: true, width: '40%' }, -- Gitblit v1.8.0