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

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

Closed
ohva opened this issue Jan 11, 2021 · 4 comments
Closed

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

ohva opened this issue Jan 11, 2021 · 4 comments

Comments

@ohva
Copy link

ohva commented Jan 11, 2021

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',
  });
}

@anncwb
Copy link
Collaborator

anncwb commented Jan 11, 2021

问题1是最新的代码吗。

@anncwb
Copy link
Collaborator

anncwb commented Jan 11, 2021

问题1我这边测试没问题

@ohva
Copy link
Author

ohva commented Jan 11, 2021

使用的都是精简版的最新代码
https://github.com/anncwb/vben-admin-thin-next

anncwb added a commit that referenced this issue Jan 11, 2021
@anncwb
Copy link
Collaborator

anncwb commented Jan 11, 2021

精简版还没同步。等请等待同步。还有多个问题分开提

@anncwb anncwb closed this as completed Jan 11, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 30, 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

2 participants