Explorar el Código

修改按钮选中未选中状态的UI样式

zhangwf hace 5 años
padre
commit
7b2313214f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/model/Element.js

+ 2 - 0
src/model/Element.js

@@ -56,5 +56,7 @@ export default class Element {
     this.eleCanvas = ele.eleCanvas || ''
     this.swiperType = ele.swiperType || 'mtswiper'
     this.isFixed = ele.isFixed || false
+    this.backgroundSelectedImg = ele.backgroundSelectedImg || ''
+    this.backgroundUnSelectedImg = ele.backgroundUnselectedImg || ''
   }
 }