From 49d2899177ae9a58f297a19a245b560d2a5746ce Mon Sep 17 00:00:00 2001 From: junjie Date: Thu, 24 Jun 2021 13:44:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BB=A3=E7=A0=81=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/DeDrag/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/DeDrag/index.vue b/frontend/src/components/DeDrag/index.vue index ad07af8ba2..a1721d5884 100644 --- a/frontend/src/components/DeDrag/index.vue +++ b/frontend/src/components/DeDrag/index.vue @@ -1495,9 +1495,9 @@ export default { addEvent(window, 'resize', this.checkParentSize) }, createdFunction() { - // eslint-disable-next-line 无效的prop:minWidth不能大于maxWidth + // minWidth不能大于maxWidth if (this.maxWidth && this.minWidth > this.maxWidth) console.warn('[Vdr warn]: Invalid prop: minWidth cannot be greater than maxWidth') - // eslint-disable-next-line 无效prop:minHeight不能大于maxHeight' + // minHeight不能大于maxHeight if (this.maxWidth && this.minHeight > this.maxHeight) console.warn('[Vdr warn]: Invalid prop: minHeight cannot be greater than maxHeight') this.elmX = 0 this.elmY = 0