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

上传组件的uploadParams是不是没有作用? 我看请求上面没有附加参数 #802

Closed
bihell opened this issue Jun 23, 2021 · 0 comments

Comments

@bihell
Copy link

bihell commented Jun 23, 2021

使用的是最新的代码

我的字段设置如下:

  {
    field: 'field1',
    component: 'Upload',
    label: '字段1',
    colProps: {
      span: 8,
    },
    rules: [{ required: true, message: '请选择上传文件' }],
    componentProps: {
      api: uploadApi,
      maxNumber: 1,
      uploadParams: { type: 'nav' },
    },
  },

然而查看发送的请求,还是只有一个file参数. 是不是我使用的姿势不对.

@anncwb anncwb closed this as completed in c4b22a2 Jun 23, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant