Skip to content

dropdown下拉项为空 #651

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
li9269391 opened this issue Mar 29, 2019 · 7 comments
Closed
1 task done

dropdown下拉项为空 #651

li9269391 opened this issue Mar 29, 2019 · 7 comments
Labels

Comments

@li9269391
Copy link

li9269391 commented Mar 29, 2019

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

Version

1.3.7

Environment

Mac:10.12.6
chrome:73.0.3683.86
Vue:2.5.17
ant-design-vue:1.3.17
webpack: 3.10.0

Reproduction link

Edit on CodeSandbox

Steps to reproduce

其它组件正常,只有这个组件有问题,构建也没报错,我提供的网页编辑器上无法重现

What is expected?

有下拉项

What is actually happening?


其它 API 也正常触发事件,鼠标移上去,有 dom 节点变化,里面为空
<div style="position: absolute; top: 0px; left: 0px; width: 100%;"><!----></div>

@wangxueliang
Copy link
Member

从提供链接看,说明组件自身没问题
ps: 好好检查一下自己的业务代码

@tangjinzhou
Copy link
Member

@li9269391
#103 (comment)
你应该确保使用的vue,是同一个版本参考上面那个链接,这块后续我们会优化

@li9269391
Copy link
Author

li9269391 commented Apr 1, 2019

@tangjinzhou 我没有开启 dll 的配置,问题就如你所说,应该是版本影响,所以试了一下配置
externals 或 alias 都能解决,谢谢

@50l3r
Copy link

50l3r commented Sep 8, 2019

I have the same issue:

ant-design-vue: 1.3.16
vue: 2.6.10

This is my webpack alias config:

resolve: {
    alias: {
        '@': path.join(__dirname, '../src/renderer'),
        'vue$': 'vue/dist/vue.esm.js',
    },
    extensions: ['.js', '.vue', '.json', '.css', '.node'],
},

I try to downgrade vue but problem persist:

@50l3r
Copy link

50l3r commented Sep 8, 2019

updating to 1.3.17-beta.1 solves the problem 👍

@tangjinzhou
Copy link
Member

最新版本已经解决该类问题

@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 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants