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

Notify组件传入top选项无效 #3182

Closed
1 task done
lizhancheng opened this issue Nov 15, 2020 · 8 comments
Closed
1 task done

Notify组件传入top选项无效 #3182

lizhancheng opened this issue Nov 15, 2020 · 8 comments
Assignees
Labels

Comments

@lizhancheng
Copy link

lizhancheng commented Nov 15, 2020

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

Version

1.6.5

Environment

chrome88 Vue 2.6.12

Reproduction link

Edit on CodeSandbox

Steps to reproduce

this.$notification.open({
top: 450,
message: "test1",
description: "test23",
duration: null,
});

What is expected?

距离顶部450像素

What is actually happening?

没有生效

@zkwolf
Copy link
Member

zkwolf commented Nov 15, 2020

top接受string类型,应该是450px

@zkwolf zkwolf closed this as completed Nov 15, 2020
@xrkffgg
Copy link
Member

xrkffgg commented Nov 16, 2020

看了下代码是有支持 number 类型的,但是好像没生效,应确认下

@xrkffgg xrkffgg reopened this Nov 16, 2020
@xrkffgg
Copy link
Member

xrkffgg commented Nov 16, 2020

同时 中英文 这个描述 不一致,文档也需修复下

@tangjinzhou
Copy link
Member

@xrkffgg 2.x 也同步修复下吧

@lizhancheng
Copy link
Author

貌似传入450px也不生效吧 @xrkffgg @zkwolf

@tangjinzhou
Copy link
Member

image

@lizhancheng
Copy link
Author

lizhancheng commented Nov 16, 2020

image
这真的好尴尬,我这边居然没有这样的效果
ps:旁边同事也是这样的效果,有点神奇

我知道了,是我没按保存导致的,忽略上面…

@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 Nov 17, 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