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

notice没有getBuilder方法 #301

Open
Xerzsh opened this issue Jan 11, 2025 · 1 comment
Open

notice没有getBuilder方法 #301

Xerzsh opened this issue Jan 11, 2025 · 1 comment
Labels
Accepted 🌱 受理 Maintainer may be busy resolving or fixing the labeled issues Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs

Comments

@Xerzsh
Copy link

Xerzsh commented Jan 11, 2025

文档中的以下代码会报错。
let builder = notice.getBuilder();
builder.setContentTitle('Weather condition');
builder.setContentText('The sky is getting dark');
notice(builder);

/* 链式调用使代码更简洁. */

notice(notice.getBuilder()
.setContentTitle('Weather condition')
.setContentText('The sky is getting dark'));

@SuperMonster003 SuperMonster003 added Accepted 🌱 受理 Maintainer may be busy resolving or fixing the labeled issues Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs labels Jan 11, 2025
@SuperMonster003
Copy link
Owner

感谢反馈, 将于下一版本修复上述问题.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted 🌱 受理 Maintainer may be busy resolving or fixing the labeled issues Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs
Projects
None yet
Development

No branches or pull requests

2 participants