Skip to content

可伸缩列 table 参数名称冲突 #1870

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

Closed
1 task done
zheng-qipeng opened this issue Mar 13, 2020 · 8 comments
Closed
1 task done

可伸缩列 table 参数名称冲突 #1870

zheng-qipeng opened this issue Mar 13, 2020 · 8 comments

Comments

@zheng-qipeng
Copy link

zheng-qipeng commented Mar 13, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.4.11

Environment

Table Resizable column

Reproduction link

Edit on CodeSandbox

Steps to reproduce

/* const ResizeableTitle = (h, props, children) => { */
const ResizeableTitle = (h1) => {
const props = h1.props
const children = h1.children
}

What is expected?

const ResizeableTitle = (h1) => {
const props = h1.props
const children = h1.children
}

What is actually happening?

const ResizeableTitle = (h, props, children) => {
}


Argument name clash

@tangjinzhou
Copy link
Member

@zheng-qipeng
Copy link
Author

1.4.11 版本 新增可拖拽调整表格列宽示例 示例代码有误

@tangjinzhou
Copy link
Member

有啥误 没看出来

@herosPan
Copy link

herosPan commented May 20, 2020

ResizeableTitle 函数一执行 return 模板语法 就报错,是缺少依赖解析不了吗

@zheng-qipeng zheng-qipeng mentioned this issue May 21, 2020
1 task
@zheng-qipeng
Copy link
Author

ResizeableTitle 函数一执行 return 模板语法 就报错,是缺少依赖解析不了吗

不是,好像只是参数重复的错误
const ResizeableTitle = (h, props, children) => {}
改成
const ResizeableTitle = ({props, children}) => {}

@herosPan
Copy link

ResizeableTitle 函数一执行 return 模板语法 就报错,是缺少依赖解析不了吗

不是,好像只是参数重复的错误
const ResizeableTitle = (h, props, children) => {}
改成
const ResizeableTitle = ({props, children}) => {}

https://codesandbox.io/s/competent-wildflower-ghr24?file=/src/App.vue h参数是不能去掉的

@github-actions
Copy link

github-actions bot commented Jan 4, 2021

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants