Przeglądaj źródła

调研宝
编辑测试页面,“相对固定“按钮失灵
https://www.xiaopiu.com/h5/byId?type=project&id=5df1b5a78a345d79dde97211&isprd=true

zhangwf 5 lat temu
rodzic
commit
414f4dd01b
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      src/components/EditPanel.vue
  2. 1 1
      src/model/Element.js

+ 1 - 1
src/components/EditPanel.vue

@@ -910,7 +910,7 @@ color:rgba(255,255,255,1);"
           <span
             style="font-size:12px;font-family:MicrosoftYaHei;color:rgba(51,51,51,1);line-height:16px; margin-left: 20px;"
           >相对固定</span>
-          <el-switch v-model="element.isFixed" active-color="#4E5DFF" inactive-color="#D7E2FF"></el-switch>
+          <el-switch v-model="element.fixed" active-color="#4E5DFF" inactive-color="#D7E2FF"></el-switch>
         </div>
       </div>
 

+ 1 - 1
src/model/Element.js

@@ -56,7 +56,7 @@ export default class Element {
     this.animatedFont = ele.animatedFont || ''
     this.eleCanvas = ele.eleCanvas || ''
     this.swiperType = ele.swiperType || 'mtswiper'
-    this.isFixed = ele.isFixed || false
+    this.fixed = ele.fixed || false
     this.backgroundSelectedImg = ele.backgroundSelectedImg || ''
     this.backgroundUnselectedImg = ele.backgroundUnselectedImg || ''
     this.questionId = ele.questionId || 0