+ { this.$emit('select', selection.key, index, selection.onSelect) }}
+ >
+ {selection.text}
+
+
+ )
+ })
+ },
+ },
+
+ render () {
+ const { disabled, prefixCls, selections, getPopupContainer, checked, indeterminate } = this
+
+ const selectionPrefixCls = `${prefixCls}-selection`
+
+ let customSelections = null
+
+ if (selections) {
+ const newSelections = Array.isArray(selections) ? this.defaultSelections.concat(selections)
+ : this.defaultSelections
+
+ const menu = (
+
+ )
+
+ customSelections = newSelections.length > 0 ? (
+