From 6bbd88b8176efdb4b0d1b7161b580ac9a05ae765 Mon Sep 17 00:00:00 2001 From: 1iyc <5212514+liycone@user.noreply.gitee.com> Date: Thu, 7 Nov 2024 16:36:44 +0800 Subject: [PATCH] v 1.2.2 Signed-off-by: 1iyc <5212514+liycone@user.noreply.gitee.com> --- src/components/TabComponent/index.vue | 1 - src/components/Table/index.vue | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/components/TabComponent/index.vue b/src/components/TabComponent/index.vue index 086e444..25f4c55 100644 --- a/src/components/TabComponent/index.vue +++ b/src/components/TabComponent/index.vue @@ -221,7 +221,6 @@ export default { }, }, mounted() { - console.log('Received props:', this.$props); } } diff --git a/src/components/Table/index.vue b/src/components/Table/index.vue index 2d8568d..598d991 100644 --- a/src/components/Table/index.vue +++ b/src/components/Table/index.vue @@ -91,15 +91,12 @@ export default { }, mounted() { this.validateProps(); - console.log('Table component received props:', this.$props); }, methods: { validateProps() { if (!Array.isArray(this.columns) || !this.columns.length) { - console.error('Columns prop must be a non-empty array.'); } if (!Array.isArray(this.rows)) { - console.error('Rows prop must be an array.'); } }, handleSortChange({prop, order}) {