mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
fix(modal): console error
This commit is contained in:
parent
e066e195e0
commit
0b3a5555f5
@ -129,11 +129,11 @@ export default {
|
||||
}
|
||||
},
|
||||
updated () {
|
||||
this.$nextTick().then(() => {
|
||||
console.log('modal rerender')
|
||||
console.log(this.$slots.default[1].text)
|
||||
console.log(this.$scopedSlots.default()[1].text)
|
||||
})
|
||||
// this.$nextTick().then(() => {
|
||||
// console.log('modal rerender')
|
||||
// console.log(this.$slots.default[1].text)
|
||||
// console.log(this.$scopedSlots.default()[1].text)
|
||||
// })
|
||||
},
|
||||
methods: {
|
||||
slotDOM () {
|
||||
|
Loading…
Reference in New Issue
Block a user