新增:添加字典提示使用信息

pull/56/head
李强 2022-05-10 18:50:54 +08:00
parent d356d6834c
commit cf267f0e44
1 changed files with 6 additions and 2 deletions

View File

@ -121,7 +121,6 @@ export const crudOptions = (vm) => {
{ {
title: '字典编号', title: '字典编号',
key: 'value', key: 'value',
search: { search: {
disabled: true, disabled: true,
component: { component: {
@ -130,7 +129,6 @@ export const crudOptions = (vm) => {
} }
} }
}, },
type: 'input', type: 'input',
form: { form: {
rules: [ // 表单校验规则 rules: [ // 表单校验规则
@ -144,6 +142,12 @@ export const crudOptions = (vm) => {
}, },
itemProps: { itemProps: {
class: { yxtInput: true } class: { yxtInput: true }
},
helper: {
render (h) {
return (< el-alert title="使用方法vm.dictionary('字典编号')" type="warning"/>
)
}
} }
} }
}, },