Skip to content

表格列设置和customRender 的问题 #174

@ohva

Description

@ohva

Subject of the issue

当表格列使用的是 customRender,打开showTableSetting之后,点击隐藏列后,将无法通过再次点击显示.

Steps to reproduce

image
image

Expected behaviour && Actual behaviour

问题一: 列展示中,更新时间是否勾选,可以自由控制字段的显示和隐藏,当时用 customRender 渲染的取消勾选之后,无法重新勾选,只能提供重置恢复

问题二: 更新之后的这个时间戳方法(createNow),当 params 为空时,get 请求依然不会携带时间戳,当get 请求随意添加一个参数时,可以成功携带时间戳,这个是 bug 还是正常的?

export function getMenuListById() {
  return defHttp.request<getMenuListByIdParamsResultModel>({
    url: Api.GetMenu,
    method: 'GET',
    params: { id: '1' },
  });
}
export function getMenuListById() {
  return defHttp.request<getMenuListByIdParamsResultModel>({
    url: Api.GetMenu,
    method: 'GET',
  });
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions