vue3 vite ts 打包成功部署到服务器访问时报错Converting circular structure to JSON --> starting at object with co

Uncaught (in promise) TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    |     property 'component' -> object with constructor 'Object'
    --- property 'vnode' closes the circle
    at JSON.stringify ()
    at index.vue_vue_type_style_index_0_lang.0d6e9fee.js:1:48017
    at s (index.vue_vue_type_style_index_0_lang.0d6e9fee.js:1:48468)
    at index.vue_vue_type_style_index_0_lang.0d6e9fee.js:1:47986
    at w (index.vue_vue_type_style_index_0_lang.0d6e9fee.js:1:35209)
    at _ (index.vue_vue_type_style_index_0_lang.0d6e9fee.js:1:35499)
    at f (index.vue_vue_type_style_index_0_lang.0d6e9fee.js:1:35438)

有遇到过这种情况的家人嘛?

你可能感兴趣的:(vue3,vite,ts,vite,vue3,ts,打包部署运行报错)