From 0b3a5555f5f10a9a7edd71006d79c49f4bcac64d Mon Sep 17 00:00:00 2001 From: "songwanli2025@163.com" Date: Thu, 2 Jan 2020 14:20:13 +0800 Subject: [PATCH] fix(modal): console error --- packages/common/Modal/src/ModalContent.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/common/Modal/src/ModalContent.vue b/packages/common/Modal/src/ModalContent.vue index 08c35c090..58abf2150 100644 --- a/packages/common/Modal/src/ModalContent.vue +++ b/packages/common/Modal/src/ModalContent.vue @@ -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 () {