Browse Source

修改开关示例

pull/97/head
zq 1 month ago
parent
commit
a677704d33
  1. 2
      src/views/elementGroups.vue

2
src/views/elementGroups.vue

@ -382,7 +382,7 @@
<div class="ele-item"> <div class="ele-item">
<label for="">开关L</label> <label for="">开关L</label>
<!-- 左侧不需要添加float 属性 --> <!-- 左侧不需要添加float 属性 -->
<GuipSwitch :modelValue="switchValue" float="right" activeText="文案在右,默认左侧" inactiveText="关闭" <GuipSwitch v-model="switchValue" float="right" activeText="文案在右,默认左侧" inactiveText="关闭"
@change="onSwitchChange"> @change="onSwitchChange">
</GuipSwitch> </GuipSwitch>
</div> </div>

Loading…
Cancel
Save