From cf267f0e44c277a368c7203a9b13731e48ab16f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BC=BA?= <1206709430@qq.com> Date: Tue, 10 May 2022 18:50:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9A=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=AD=97=E5=85=B8=E6=8F=90=E7=A4=BA=E4=BD=BF=E7=94=A8=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/system/dictionary/crud.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/src/views/system/dictionary/crud.js b/web/src/views/system/dictionary/crud.js index 4adb4f7..e357465 100644 --- a/web/src/views/system/dictionary/crud.js +++ b/web/src/views/system/dictionary/crud.js @@ -121,7 +121,6 @@ export const crudOptions = (vm) => { { title: '字典编号', key: 'value', - search: { disabled: true, component: { @@ -130,7 +129,6 @@ export const crudOptions = (vm) => { } } }, - type: 'input', form: { rules: [ // 表单校验规则 @@ -144,6 +142,12 @@ export const crudOptions = (vm) => { }, itemProps: { class: { yxtInput: true } + }, + helper: { + render (h) { + return (< el-alert title="使用方法:vm.dictionary('字典编号')" type="warning"/> + ) + } } } },