From c45a375e5b4ce0e33c7fc8a1aecdad67d60acc9e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 01 三月 2021 15:09:06 +0800 Subject: [PATCH] 2021-03-01 --- src/menu/components/table/normal-table/columns/editColumn/formconfig.jsx | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/menu/components/table/normal-table/columns/editColumn/formconfig.jsx b/src/menu/components/table/normal-table/columns/editColumn/formconfig.jsx index 1ab32f6..5f55b07 100644 --- a/src/menu/components/table/normal-table/columns/editColumn/formconfig.jsx +++ b/src/menu/components/table/normal-table/columns/editColumn/formconfig.jsx @@ -1,7 +1,7 @@ import zhCN from '@/locales/zh-CN/model.js' import enUS from '@/locales/en-US/model.js' -const Formdict = localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS +const Formdict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS /** * @description 鑾峰彇鏄剧ず鍒楄〃鍗曢厤缃俊鎭� @@ -38,13 +38,13 @@ }, { value: 'custom', text: '鑷畾涔夊垪' + }, { + value: 'colspan', + text: '鍚堝苟鍒�' }] if (!card.isSub) { options.push({ - value: 'colspan', - text: '鍚堝苟鍒�' - }, { value: 'action', text: '鎿嶄綔' }) @@ -126,6 +126,7 @@ label: Formdict['model.sort'], initVal: card.IsSort || 'true', required: true, + forbidden: card.isSub, options: [{ value: 'true', text: Formdict['model.true'] -- Gitblit v1.8.0