File tree 5 files changed +7
-5
lines changed
5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
- Component < any > ( {
1
+ Component ( {
2
2
options : {
3
3
addGlobalClass : true ,
4
4
multipleSlots : true
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Component({
28
28
value : true
29
29
} ,
30
30
extClass : {
31
- type : Boolean ,
31
+ type : String ,
32
32
value : ''
33
33
}
34
34
} ,
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ Component({
42
42
data : {
43
43
result : [ ] // 搜索结果
44
44
} ,
45
+ /* @ts -ignore */
45
46
lastSearch : Date . now ( ) ,
46
47
lifetimes : {
47
48
// @ts -ignore
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ Component({
36
36
} ,
37
37
select : {
38
38
// 过滤某个文件
39
- type : Function ,
40
- value ( ) { }
39
+ type : null ,
40
+ value : ( ) => { }
41
41
} ,
42
42
upload : {
43
43
// 返回Promise的一个文件上传的函数
44
- type : Function ,
44
+ type : null ,
45
45
value : null
46
46
} ,
47
47
tips : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
+ "baseUrl" : " ." ,
3
4
"module" : " commonjs" ,
4
5
"noImplicitAny" : false ,
5
6
"removeComments" : true ,
You can’t perform that action at this time.
0 commit comments