File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1530,6 +1530,7 @@ export default {
1530
1530
const container = document .querySelector (' .dashboard-container' )
1531
1531
let clientWidth = container .clientWidth
1532
1532
this .clientHeight = document .documentElement .clientHeight - this .lessClientHeight
1533
+ console .log (' containerResize' , clientWidth, this .clientHeight )
1533
1534
this .gridItemWidth = 125
1534
1535
if (this .queryFileType === ' image' ) {
1535
1536
this .gridItemWidth = 165
@@ -1553,7 +1554,6 @@ export default {
1553
1554
}
1554
1555
this .getFileList ()
1555
1556
}
1556
-
1557
1557
// 使列表可拖拽
1558
1558
this .rowDrop ()
1559
1559
this .darwRectangle ()
@@ -3047,7 +3047,7 @@ export default {
3047
3047
if (this .listModeSearch ) {
3048
3048
this .searchFile (this .searchFileName )
3049
3049
} else {
3050
- this .containerResize ()
3050
+ this .getFileList ()
3051
3051
}
3052
3052
}
3053
3053
},
You can’t perform that action at this time.
0 commit comments