优化程序

This commit is contained in:
Xiang Chengjun 2024-06-13 16:11:26 +08:00
parent 3bf285085d
commit 4b75b9fc3f

View File

@ -101,7 +101,7 @@ watch(
state.list.length = 0
return
}
let list = newList.filter((v: IGetTempListData) => !newList.includes(v) || !oldList.includes(v)) // difference
let list = newList.filter((v: IGetTempListData) => !oldList.includes(v)) // difference
list = JSON.parse(JSON.stringify(list))
const marginRight = 6 //
const limitWidth = (await getFatherWidth()) - marginRight