Browse Source

feat:边框装饰组件代码重构

liu.shiyi 2 years ago
parent
commit
d51817697c
1 changed files with 5 additions and 0 deletions
  1. 5 0
      data-room-ui/packages/js/mixins/refreshComponent.js

+ 5 - 0
data-room-ui/packages/js/mixins/refreshComponent.js

@@ -20,6 +20,11 @@ const refreshComponentMixin = {
       },
       deep: true
     }
+  },
+  methods: {
+    // 由于静态组件没有混入公共函数,所以需要定义一个changeStyle方法,以免报错
+    changeStyle () {
+    }
   }
 }