@tagplus/components 2.1.1 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tp.common.js +1 -1
- package/dist/tp.common.js.map +1 -1
- package/dist/tp.css +1 -1
- package/dist/tp.umd.js +1 -1
- package/dist/tp.umd.js.map +1 -1
- package/dist/tp.umd.min.js +1 -1
- package/dist/tp.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Autosuggest/Autosuggest.vue +6 -2
package/package.json
CHANGED
|
@@ -426,6 +426,10 @@ export default {
|
|
|
426
426
|
},
|
|
427
427
|
|
|
428
428
|
methods: {
|
|
429
|
+
handleFocus (event) {
|
|
430
|
+
this.focused = true
|
|
431
|
+
this.$emit('focus', event)
|
|
432
|
+
},
|
|
429
433
|
/**
|
|
430
434
|
* Adiciona um evento no elemento dinamicamente
|
|
431
435
|
* @args el {Object} Elemento que tem o listener
|
|
@@ -521,7 +525,7 @@ export default {
|
|
|
521
525
|
const cachedOption = this.cachedOptions[i]
|
|
522
526
|
const isEqual = isObject
|
|
523
527
|
? getValueByPath(cachedOption.value, this.valueKey) ===
|
|
524
|
-
|
|
528
|
+
getValueByPath(value, this.valueKey)
|
|
525
529
|
: cachedOption.value === value
|
|
526
530
|
|
|
527
531
|
if (isEqual) {
|
|
@@ -676,7 +680,7 @@ export default {
|
|
|
676
680
|
</script>
|
|
677
681
|
|
|
678
682
|
<style lang="scss" scoped>
|
|
679
|
-
:deep(){
|
|
683
|
+
:deep() {
|
|
680
684
|
.el-input-group__append {
|
|
681
685
|
padding: 0px 6px 0px 0px;
|
|
682
686
|
border: 0;
|