Merge pull request #146 from Honye/main

优化程序
This commit is contained in:
ShawnPhang 2024-06-19 21:13:36 +08:00 committed by GitHub
commit a9003f41ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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