mirror of
https://github.com/palxiao/poster-design.git
synced 2025-06-08 03:19:59 +08:00
优化程序
This commit is contained in:
parent
3bf285085d
commit
4b75b9fc3f
@ -101,7 +101,7 @@ watch(
|
|||||||
state.list.length = 0
|
state.list.length = 0
|
||||||
return
|
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))
|
list = JSON.parse(JSON.stringify(list))
|
||||||
const marginRight = 6 // 间距
|
const marginRight = 6 // 间距
|
||||||
const limitWidth = (await getFatherWidth()) - marginRight
|
const limitWidth = (await getFatherWidth()) - marginRight
|
||||||
|
Loading…
x
Reference in New Issue
Block a user