Skip to content

Commit c6f10f5

Browse files
authored
fix: remove type function
1 parent 50115da commit c6f10f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/searchbar/searchbar.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ Component({
2121
},
2222
search: {
2323
// 返回Promise的函数
24-
// @ts-ignore
25-
type: Function,
24+
type: null, // type: Function 等价 null
2625
value: null
2726
},
2827
throttle: {

0 commit comments

Comments
 (0)