From d51817697c6df22f9d4e4552363b0f9421017ddb Mon Sep 17 00:00:00 2001 From: "liu.shiyi" Date: Tue, 27 Jun 2023 19:52:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E8=BE=B9=E6=A1=86=E8=A3=85=E9=A5=B0?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E4=BB=A3=E7=A0=81=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data-room-ui/packages/js/mixins/refreshComponent.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data-room-ui/packages/js/mixins/refreshComponent.js b/data-room-ui/packages/js/mixins/refreshComponent.js index ab859217..44ae3a23 100644 --- a/data-room-ui/packages/js/mixins/refreshComponent.js +++ b/data-room-ui/packages/js/mixins/refreshComponent.js @@ -20,6 +20,11 @@ const refreshComponentMixin = { }, deep: true } + }, + methods: { + // 由于静态组件没有混入公共函数,所以需要定义一个changeStyle方法,以免报错 + changeStyle () { + } } }