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

请问怎么关闭圣诞树彩蛋 #13829

Closed
1 task
662 opened this issue Dec 25, 2018 · 24 comments
Closed
1 task

请问怎么关闭圣诞树彩蛋 #13829

662 opened this issue Dec 25, 2018 · 24 comments
Assignees

Comments

@662
Copy link

662 commented Dec 25, 2018

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

Version

3.11.5

Environment

chrome latest

Reproduction link

https://ant.design

Steps to reproduce

使用

What is expected?

一个漂亮的Button

What is actually happening?

按钮样式被一坨白色的东西遮挡


求解决,还有 HoHoHo! 这一句无情的嘲讽;我现在面临非常严重的后果;

@H246802
Copy link

H246802 commented Dec 25, 2018

css解决

@orzyyyy
Copy link
Contributor

orzyyyy commented Dec 25, 2018

#13819 (comment)

title 可以先暂时这样,css 也可以这样移除

@kiinlam
Copy link

kiinlam commented Dec 25, 2018

惊喜?不!惊吓!老板已经说要扣奖金了!
用css样式覆盖,important规则,所以呢?要发布一个版本才能解决?老板说不给发,必须解决,之前都没有的,怎么现在就出来了?

@sirzxj
Copy link

sirzxj commented Dec 25, 2018

强烈建议把春节加上

@ctq123
Copy link

ctq123 commented Dec 25, 2018

哈哈哈

@H246802
Copy link

H246802 commented Dec 25, 2018

惊喜?不!惊吓!老板已经说要扣奖金了!
用css样式覆盖,important规则,所以呢?要发布一个版本才能解决?老板说不给发,必须解决,之前都没有的,怎么现在就出来了?

小伙子实在是太惨了,哈哈哈

@lightyen
Copy link

在 node_modules/antd/lib/button.js 中:

var isChristmas = now.getMonth() === 11 && now.getDate() === 25
isChristmas = false

@662
Copy link
Author

662 commented Dec 25, 2018

#13819 (comment)

title 可以先暂时这样,css 也可以这样移除

感谢

@662
Copy link
Author

662 commented Dec 25, 2018

在 node_modules/antd/lib/button.js 中:

var isChristmas = now.getMonth() === 11 && now.getDate() === 25
isChristmas = false

感谢

@orzyyyy orzyyyy closed this as completed Dec 25, 2018
@lwyj123
Copy link

lwyj123 commented Dec 25, 2018

字节跳动全年招聘,了解一下,简历发邮箱liangyuyi@bytedance.com

@toksea
Copy link

toksea commented Dec 25, 2018

对于 build 后的代码,可以在 css 底部增加

.ant-btn.ant-btn-primary.christmas:before {
  display: none!important;
}

在 js 中搜索 'Ho Ho Ho!' 删除三元运算符,保留 : 之后的内容

@hashforu
Copy link

惨,哈哈哈哈哈。。。。特意去看了自己之前的,还好没问题。。。

@staneee
Copy link

staneee commented Dec 25, 2018

惊喜?不!惊吓!老板已经说要扣奖金了!
用css样式覆盖,important规则,所以呢?要发布一个版本才能解决?老板说不给发,必须解决,之前都没有的,怎么现在就出来了?

index.html加个样式吧,哈哈哈哈哈哈哈哈

@CruxCv
Copy link

CruxCv commented Dec 25, 2018

笑死我了

@zhangyaoFkr
Copy link

说明你需要固定版本, 并在升级之前充分预估你升级带来的影响
@662

@zcSkr
Copy link

zcSkr commented Dec 25, 2018

好好玩阿,建议做春节鞭炮、端午粽子。哈哈哈

@Lixucheng
Copy link

火钳刘明

@ctq123
Copy link

ctq123 commented Dec 25, 2018

强烈建议把春节彩蛋加上,不能厚此薄彼

@anykno
Copy link

anykno commented Dec 25, 2018

强烈建议把春节彩蛋加上,不能厚此薄彼

欢迎pr

@staneee
Copy link

staneee commented Dec 25, 2018

image

离职的可去 这里

@zcSkr
Copy link

zcSkr commented Dec 25, 2018

强烈建议把春节彩蛋加上,不能厚此薄彼

chrismas和christmas的区别?
第一个指的是圣诞(耶稣的生日)第二个是指圣诞节这个节日
代码里面写的是第一个,调侃。

春节怕是不敢调侃哦

@zgw010
Copy link

zgw010 commented Dec 25, 2018

字节跳动全年招聘,了解一下,简历发邮箱liangyuyi@bytedance.com

= = 见缝插针

@FR15
Copy link

FR15 commented Dec 25, 2018

image

离职的可去 这里

阴谋论

@zcSkr
Copy link

zcSkr commented Dec 25, 2018

话题终结了,3.11.6在40分钟前发布了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests