Explorar o código

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

zhangwf %!s(int64=5) %!d(string=hai) anos
pai
achega
7b2313214f
Modificáronse 1 ficheiros con 2 adicións e 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 || ''
   }
 }