소스 검색

工作要点

ZaiZai 1 년 전
부모
커밋
68215a2ed9
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      src/components/dropdown/dropdown.vue

+ 1 - 4
src/components/dropdown/dropdown.vue

@@ -59,10 +59,7 @@ watch(() => define_props.props, (obj) => {
 
 //监听
 watch(curKey, (key) => {
-    if (key) {
-        console.log(key)
-        getItemLabel()
-    }
+    if (key) getItemLabel()
 })
 
 //渲染完成