提交 f0bd94a5 authored 作者: 龙菲's avatar 龙菲

修改以图搜图显示条数

上级 6ac7ab04
......@@ -54,7 +54,7 @@ export default {
data() {
return {
contentWidth: 0,
waterfallHeight: "120vh",
waterfallHeight: "60vh",
};
},
......@@ -71,7 +71,7 @@ export default {
// 给父组件调用的
getWaterfallHeight() {
const emptySpace = 340;
this.waterfallHeight = "120vh";
this.waterfallHeight = "60vh";
const { offsetHeight } = this.$refs.ImgList;
this.waterfallHeight = offsetHeight + emptySpace + "px";
},
......
......@@ -63,7 +63,7 @@ export default {
currentImg: "", //当前搜索的图片
loading: false, //是否正在上传
imgList: [],
size: 20,
size: 10,
fileList: [],
};
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论