From ffd044cf75ae896187b938e91dbd8fb83abd3615 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 28 三月 2023 20:58:11 +0800 Subject: [PATCH] 2023-03-28 --- src/templates/zshare/modalform/index.jsx | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/templates/zshare/modalform/index.jsx b/src/templates/zshare/modalform/index.jsx index 84fd387..26f37bd 100644 --- a/src/templates/zshare/modalform/index.jsx +++ b/src/templates/zshare/modalform/index.jsx @@ -230,6 +230,9 @@ if (sessionStorage.getItem('appType') === 'mob') { shows.push('hidelabel') } + if (this.record.readonly === 'true' && this.record.hidden !== 'true') { + shows.push('unchecked') + } } else if (['date', 'datemonth', 'datetime'].includes(type)) { reOptions.initval = dateOptions[type] reTypes.initval = 'select' -- Gitblit v1.8.0