Select的options可以为动态数据吗
super-ai opened this issue · 4 comments
super-ai commented
options和用户权限有关 不同记录编辑时候 能看到的options不一样
jiang223 commented
这跟后台有关系的吧,ajax获取下拉框数据就行了
super-ai commented
不太一样 ignoreSchemaCache设置为true后 也只是在页面打开时候取schema
我想要的效果是 点击编辑按钮时候 就去取一次schema
ElegantLin commented
{
"success": true,
"code": 0,
"message": "xxx",
"data": {
querySchema: [ // 可选,如果返回这个字段,说明服务端要更新querySchema
// 结构跟{tableName}.querySchema.js中定义的是完全一样的
],
dataSchema: [ // 可选,如果返回这个字段,说明服务端要更新dataSchema
// 结构跟{tableName}.dataSchema.js完全一样
],
},
"total": null
}
我想问一下这个querySchema
传入的是一个字符串还是一个列表还是?
谢谢