From c06e58c80240afd703d289bb1c584e08b9783383 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 13 六月 2025 20:24:25 +0800
Subject: [PATCH] 2025-06-13

---
 src/pc/components/login/normal-login/options.jsx |   35 +++++++++++++++++++++++++----------
 1 files changed, 25 insertions(+), 10 deletions(-)

diff --git a/src/pc/components/login/normal-login/options.jsx b/src/pc/components/login/normal-login/options.jsx
index 0c49d34..80628c0 100644
--- a/src/pc/components/login/normal-login/options.jsx
+++ b/src/pc/components/login/normal-login/options.jsx
@@ -70,15 +70,15 @@
     //   precision: 0,
     //   required: false
     // },
-    {
-      type: 'styleInput',
-      field: 'height',
-      label: '鏈�灏忛珮搴�',
-      initval: wrap.height || '',
-      tooltip: '缁勪欢鍗犵敤鐨勬渶灏忛珮搴︼紝鐢ㄤ簬椤甸潰甯冨眬銆�',
-      required: false,
-      options: ['px', 'vh', 'vw', '%']
-    },
+    // {
+    //   type: 'styleInput',
+    //   field: 'height',
+    //   label: '鏈�灏忛珮搴�',
+    //   initval: wrap.height || '',
+    //   tooltip: '缁勪欢鍗犵敤鐨勬渶灏忛珮搴︼紝鐢ㄤ簬椤甸潰甯冨眬銆�',
+    //   required: false,
+    //   options: ['px', 'vh', 'vw', '%']
+    // },
     // {
     //   type: 'styleInput',
     //   field: 'maxWidth',
@@ -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