fix(modal): console error

This commit is contained in:
songwanli2025@163.com 2020-01-02 14:20:13 +08:00
parent e066e195e0
commit 0b3a5555f5

View File

@ -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 () {