How to update Table attrs when view update?

I want to update table attrs widthSet by each column’s data . what’s wrong in the code.
Error with " Maximum call stack size exceeded"

Resolved :kissing_heart:

By the way, how did you solve it?