Explorar o código

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

liu.shiyi %!s(int64=2) %!d(string=hai) anos
pai
achega
d51817697c
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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 () {
+    }
   }
 }