# GpPopupScore 改判比分
# 引入
import PressGpPopupScore from '@tencent/press-plus/press-gp-popup-score/press-gp-popup-score';
export default {
components: {
PressGpPopupScore,
}
}
# 代码演示
# 基础用法
# API
# Props
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
show | 是否显示弹窗 | boolean | false |
show-cancel-button | 是否显示取消按钮 | boolean | true |
max | 最大值,传入非0的值有效 | number | 0 |
# Events
事件名 | 说明 | 参数 |
---|---|---|
confirm | 点击确认 | show |
cancel | 点击取消 | show |