Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select的options可以为动态数据吗 #55

Open
super-ai opened this issue Sep 2, 2017 · 4 comments
Open

Select的options可以为动态数据吗 #55

super-ai opened this issue Sep 2, 2017 · 4 comments

Comments

@super-ai
Copy link

super-ai commented Sep 2, 2017

options和用户权限有关 不同记录编辑时候 能看到的options不一样

@jiang223
Copy link

jiang223 commented Sep 4, 2017

这跟后台有关系的吧,ajax获取下拉框数据就行了

@jiangxy
Copy link
Owner

jiangxy commented Sep 5, 2017

看下这个文档,看能满足需求不?

@super-ai
Copy link
Author

super-ai commented Sep 6, 2017

不太一样 ignoreSchemaCache设置为true后 也只是在页面打开时候取schema
我想要的效果是 点击编辑按钮时候 就去取一次schema

@ElegantLin
Copy link

{
    "success": true,
    "code": 0,
    "message": "xxx",
    "data": {
        querySchema: [  // 可选,如果返回这个字段,说明服务端要更新querySchema
           // 结构跟{tableName}.querySchema.js中定义的是完全一样的
        ],
        dataSchema: [  // 可选,如果返回这个字段,说明服务端要更新dataSchema
           // 结构跟{tableName}.dataSchema.js完全一样
        ],
    },
    "total": null
}

我想问一下这个querySchema传入的是一个字符串还是一个列表还是?

谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants