From edc8ebfb8f3c287d4fc40df3c6c8b0fe59b87f2c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 28 十一月 2023 10:08:31 +0800
Subject: [PATCH] 2023-11-28

---
 src/menu/components/iframe/options.jsx |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/src/menu/components/iframe/options.jsx b/src/menu/components/iframe/options.jsx
index 73bee16..2e74b01 100644
--- a/src/menu/components/iframe/options.jsx
+++ b/src/menu/components/iframe/options.jsx
@@ -63,7 +63,7 @@
       field: 'height',
       label: '楂樺害',
       initval: wrap.height || '',
-      tooltip: 'ifram楂樺害銆�',
+      tooltip: 'ifram楂樺害銆傛敞锛氶珮搴�100vh鏃朵細鏍规嵁鏍囩椤电獥鍙h繘琛岃皟鏁�',
       required: true,
       options: ['px', 'vh', 'vw']
     },
@@ -79,13 +79,27 @@
       ],
       controlFields: [
         {field: 'linkUrl', values: ['fixed']},
+        {field: 'focus', values: ['input']},
       ]
+    },
+    {
+      type: 'radio',
+      field: 'focus',
+      label: '鑷姩鑱氱劍',
+      initval: wrap.focus || 'true',
+      required: false,
+      options: [
+        {value: 'true', label: '鏄�'},
+        {value: 'false', label: '鍚�'},
+      ],
+      forbid: appType === 'mob'
     },
     {
       type: 'textarea',
       field: 'linkUrl',
       label: '鍦板潃閾炬帴',
       initval: wrap.linkUrl || '',
+      tooltip: '鍦板潃涓殑@loginuid@浼氳嚜鍔ㄦ浛鎹负褰撳墠绯荤粺鐨勭櫥褰曚俊鎭��',
       required: true,
       span: 24
     },
@@ -107,7 +121,7 @@
         {value: 'true', label: '鍚敤'},
         {value: 'false', label: '绂佺敤'},
       ],
-      forbid: !appType
+      forbid: !appType || sessionStorage.getItem('editMenuType') === 'popview'
     },
     {
       type: 'multiselect',

--
Gitblit v1.8.0