fixed modal show and hide with right name
This commit is contained in:
parent
7f7cbb9c7e
commit
9e99c4c688
File diff suppressed because one or more lines are too long
|
@ -127,6 +127,7 @@ export default {
|
||||||
ModalCard,
|
ModalCard,
|
||||||
{ item: this.item },
|
{ item: this.item },
|
||||||
{
|
{
|
||||||
|
name: `modal-${this.item.id}`,
|
||||||
draggable: true,
|
draggable: true,
|
||||||
width: '850px',
|
width: '850px',
|
||||||
height: '610px'
|
height: '610px'
|
||||||
|
|
|
@ -65,7 +65,8 @@ export default {
|
||||||
ModalCard,
|
ModalCard,
|
||||||
{ item: this.item },
|
{ item: this.item },
|
||||||
{
|
{
|
||||||
draggable: true,
|
name: `modal-${this.item.id}`,
|
||||||
|
draggable: false,
|
||||||
width: '850px',
|
width: '850px',
|
||||||
height: '610px'
|
height: '610px'
|
||||||
}
|
}
|
||||||
|
|
|
@ -177,7 +177,8 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onCloseModalCard (e) {
|
onCloseModalCard (e) {
|
||||||
this.$modal.hideAll()
|
// this.$modal.hideAll()
|
||||||
|
this.$modal.hide(`modal-${this.item.id}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue