From 0a6cd6ef989309a450a810852cbd74e35ed29b6a Mon Sep 17 00:00:00 2001 From: Charles7c Date: Wed, 15 May 2024 23:35:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AD=97=E5=85=B8=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E4=B8=8D=E5=85=81=E8=AE=B8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/dict/DictAddModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/system/dict/DictAddModal.vue b/src/views/system/dict/DictAddModal.vue index 3c707a7..43c2715 100644 --- a/src/views/system/dict/DictAddModal.vue +++ b/src/views/system/dict/DictAddModal.vue @@ -35,7 +35,7 @@ const options: Options = { const columns: Columns = [ { label: '名称', field: 'name', type: 'input', rules: [{ required: true, message: '请输入名称' }] }, - { label: '编码', field: 'code', type: 'input', rules: [{ required: true, message: '请输入编码' }] }, + { label: '编码', field: 'code', type: 'input', disabled: () => isUpdate.value, rules: [{ required: true, message: '请输入编码' }] }, { label: '描述', field: 'description',