From e4666c46c685ec7eabff25af9890d54c0ff2952b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 16 六月 2023 17:55:56 +0800 Subject: [PATCH] 2023-06-16 --- src/menu/components/iframe/options.jsx | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/src/menu/components/iframe/options.jsx b/src/menu/components/iframe/options.jsx index 73bee16..b6e8ca6 100644 --- a/src/menu/components/iframe/options.jsx +++ b/src/menu/components/iframe/options.jsx @@ -79,7 +79,20 @@ ], 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', @@ -107,7 +120,7 @@ {value: 'true', label: '鍚敤'}, {value: 'false', label: '绂佺敤'}, ], - forbid: !appType + forbid: !appType || sessionStorage.getItem('editMenuType') === 'popview' }, { type: 'multiselect', -- Gitblit v1.8.0