故事结局 (@kakushigoto) 在 请问有佬用过fastcurd框架吗?这个框架函数调用不生效 中发帖
parentId: {
title: ‘父分类’,
type: ‘dict-select’,
search: { show: false },
column: { show: true, width: 160},
dict: dict({
url: ‘/iam/appArticleType/list’,
label: ‘categoryName’,
value: ‘id’,
async onReady(context: any) {
context.label = ‘id’;
context.value = ‘id’;
},
}),
form: {
// 表单配置
rules: [{ required: false, message: ‘请输入父分类’ }],
},
},
onReady函数完全没有对表单数据产生作用?它现在仍然渲染categoryNa...