Skip to content

Commit ae29137

Browse files
author
LianJion
committed
fix: 修改checked
1 parent 30b720c commit ae29137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/component/switch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const switch_api = `
2222
2323
<!-- 2 js调用方式 -->
2424
<label class="cd-switch disabled">
25-
<input id="switch" type="radio" value="1" disabled />
25+
<input id="switch" type="radio" value="1" checked />
2626
</label>
2727
2828
// 为了避免和js中的switch关键词冲突,故用onoff

0 commit comments

Comments
 (0)