xuex刷新丢失 个人列表组件

This commit is contained in:
2023-07-28 15:31:32 +08:00
parent 385d8e34c5
commit 5648197acb
9 changed files with 98 additions and 18 deletions

View File

@@ -268,7 +268,7 @@ let noWaterfallList = reactive({ 1: 3, 2: 3, 3: 3, 4: 3 })
//判断最小值
let getMinHeight = (data) => {
if (!currentInstance.ctx.$refs.waterfall1) return
if (!currentInstance.ctx.$refs&&!currentInstance.ctx.$refs.waterfall1) return
let waterfallAll = [
currentInstance.ctx.$refs.waterfall1.offsetHeight,
currentInstance.ctx.$refs.waterfall2.offsetHeight,