airyland / airyland/vux

A bug in the confirm component

Aperta
#3,689 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Vue
Stelle
17.5k
Fork
3.6k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

There is a bug on the confirm component.

If I bind a variable `false` as v-model to the `Confirm` component, the variable will be initialized `undefined` instead of `false`, so I read the related source code:

in the 'src/components/confirm/index.vue'

```
created () {
this.showValue = this.show
if (this.value) {
this.showValue = this.value
}
},
```

`this.show` is not defined in this file.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.