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

后台返回数据格式 #30

Open
qknow-w opened this issue Jun 3, 2017 · 2 comments
Open

后台返回数据格式 #30

qknow-w opened this issue Jun 3, 2017 · 2 comments
Labels

Comments

@qknow-w
Copy link

qknow-w commented Jun 3, 2017

后台如果返回

  addonBefore: ( < Icon type = "user" / > ),

test.querySchema.js
or

    // 扩展接口, 决定了这一列渲染成什么样子
    render: (text, record) => text,

test.dataSchema.js
这两个类型的数据, 我测试后发现失败。

@jiangxy
Copy link
Owner

jiangxy commented Jun 5, 2017

是的。这确实是个问题。。
后端返回的json其实是个字符串,但前端这里要求的配置是React元素/函数,暂时还没想好怎么解决

@jiangxy jiangxy added the bug label Jun 5, 2017
@ywzhaiqi
Copy link

可否用 webpack 的 Dynamic import

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

No branches or pull requests

3 participants