Skip to content

本地运行很流畅,build 之后变得很卡 #4165

Answered by Gerson-577
Gerson-577 asked this question in Q&A
Discussion options

You must be logged in to vote

找到问题了,在 x6,store.ts,setByPath,

有这段代码
const data = ObjectExt.cloneDeep(this.data)

而我的 data 存在循环引用,我把我的类放大到 data 上了

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Gerson-577
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant