Parcourir la source

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

zhangwf il y a 5 ans
Parent
commit
7b2313214f
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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 || ''
   }
 }