Skip to content

Commit

Permalink
fix: 完善pi-select注释
Browse files Browse the repository at this point in the history
  • Loading branch information
sadais-lwt committed Feb 26, 2021
1 parent d67c6ad commit 4b1dd71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/pi-select/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default {
},
// 工具条位置
toolbarPosition: {
// 'bottom' | 'top'
// 'bottom', 'top'
type: String,
// 'bottom'
default: select.toolbarPosition,
Expand Down Expand Up @@ -393,7 +393,7 @@ export default {
handleConfirm() {
/**
* 点击确定按钮后触发
* @arg 当前选中的值 对象 || array
* @arg 当前选中的值 单选为对象,多选模式为数组
*/
this.$emit('confirm', this.selected)
this.onConfirmClose && this.handlePopupClose()
Expand Down

0 comments on commit 4b1dd71

Please sign in to comment.