Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc85e7e2

Browse files
committed
chore: clean-up
1 parent2d38862 commitc85e7e2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

‎packages/coreui-vue/src/components/form/CFormSwitch.ts‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import{defineComponent,h,onMounted,watch,ref}from'vue'
1+
import{defineComponent,h,watch,ref}from'vue'
22

33
import{CFormLabel}from'./CFormLabel'
44

@@ -81,12 +81,6 @@ const CFormSwitch = defineComponent({
8181
setup(props,{ attrs, emit}){
8282
constchecked=ref(attrs.checked)
8383

84-
onMounted(()=>{
85-
if(props.modelValue&&typeofprops.modelValue==='boolean'){
86-
console.log(props.modelValue)
87-
}
88-
})
89-
9084
watch(
9185
()=>props.modelValue,
9286
()=>{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp