admin管理员组

文章数量:1568304

update.vue:213 Uncaught (in promise) TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    |     property 'children' -> object with constructor 'Array'
    |     index 0 -> object with constructor 'Object'
    --- property '_parent' closes the circle
    at JSON.stringify (<anonymous>)

错误原因: 结果无法转成JSON.

错误写法:

this.taleData = res

解决:

this.taleData = res.data

如果你在浏览器控制台中输出 JSON.stringify(window).会输出结果如下:

VM211:1 Uncaught TypeError: Converting circular structure to JSON
    at JSON.stringify (<anonymous>)
    at <anonymous>:1:6
``

本文标签: TypeErrorpromiseUncaughtconvertingjson