提交 fc831f87 编写于 作者: jlj05024111@163.com's avatar jlj05024111@163.com

fix: 修复开关组件切换时值异常

上级 b609ba4c
...@@ -37,7 +37,7 @@ export const IBizSwitch = defineComponent({ ...@@ -37,7 +37,7 @@ export const IBizSwitch = defineComponent({
return ( return (
<div class={this.ns.b()}> <div class={this.ns.b()}>
<i-switch <i-switch
v-mode={this.currentVal} v-model={this.currentVal}
onOn-change={this.onChange} onOn-change={this.onChange}
></i-switch> ></i-switch>
</div> </div>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册