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

图片上传不展示成功列表,图片上传接口指定文件上传字段名,上传添加参数 #56

Open
EdwardQ opened this issue Dec 19, 2019 · 1 comment

Comments

@EdwardQ
Copy link

EdwardQ commented Dec 19, 2019

No description provided.

@EdwardQ
Copy link
Author

EdwardQ commented Dec 20, 2019

1、可通过配置图片field的porps: {'show-file-list': false} 配置实现,参考element-ui上传属性配置
2、可通过配置props:{name: 'fileData'}配置实现上传文件内容字段自定义
3、可通过配置props: {data: {}}配置data来进行上传接口参数传递

image: {
    type: 'image',
    label: '图片上传',
    props: {
        name: 'fielData',
        data: {
            text: '123'
        },
        'show-file-list': false
    }
}

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

1 participant