From c2580fb8de3bdaabb4179b0ce0fcd2fbac802441 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 01 三月 2023 00:49:14 +0800
Subject: [PATCH] 2023-03-01

---
 src/menu/components/module/account/options.jsx |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/menu/components/module/account/options.jsx b/src/menu/components/module/account/options.jsx
index 9d027e8..8faa66c 100644
--- a/src/menu/components/module/account/options.jsx
+++ b/src/menu/components/module/account/options.jsx
@@ -35,13 +35,27 @@
     },
     {
       type: 'radio',
+      field: 'readonly',
+      label: '鍙',
+      initval: wrap.readonly || 'false',
+      required: true,
+      options: [
+        {value: 'false', label: '鍚�'},
+        {value: 'true', label: '鏄�'},
+      ],
+      controlFields: [
+        {field: 'addable', values: ['false']},
+      ]
+    },
+    {
+      type: 'radio',
       field: 'addable',
       label: '鍙柊澧�',
       initval: wrap.addable || 'false',
       required: true,
       options: [
-        {value: 'true', label: '鏄�'},
         {value: 'false', label: '鍚�'},
+        {value: 'true', label: '鏄�'},
       ],
       controlFields: [
         {field: 'linkmenu', values: ['true']},

--
Gitblit v1.8.0