Compare commits

..

No commits in common. "b98b6024c8524e306041d6af47201973a6b70db0" and "a3931141181a5db4c9b19d6fcf7280c7ac3766c4" have entirely different histories.

2 changed files with 0 additions and 9 deletions

View File

@ -86,9 +86,6 @@ function Button(
}
function onClick(event: Event) {
if (props.loading) {
event.preventDefault();
}
if (!loading && !disabled) {
emit(ctx, 'click', event);
functionalRoute(ctx);

View File

@ -259,9 +259,3 @@ export default {
| @popover-dark-text-color | `@white` | - |
| @popover-dark-background-color | `#4a4a4a` | - |
| @popover-dark-action-disabled-text-color | `@gray-6` | - |
## 常见问题
### Popover 的点击事件无法正确触发?
这种情况通常是由于项目中引入了 `fastclick` 库导致的。建议移除 `fastclick`,或者配置 `fastclick` 的 [ignore 规则](https://github.com/ftlabs/fastclick#advanced)。