Vue3运行出错 ,在项目创建初期的问题

在vue3里面,运行结果显示

Uncaught TypeError: Cannot read properties of null (reading 'nextSibling')

img

以下答案引用自GPT-3大模型,请合理使用:

片段




TypeError: Cannot read properties of null (reading 'nextSibling')

在项目创建初期的问题在vue3里面,运行结果显示Uncaught TypeError: Cannot read properties of null (reading 'nextSibling')

请详细解答,如果可以请给出代码片段

试下前端将object类型转化为json字符串显示

望采纳。。

路由不能正常跳转??

猜测是:服务返回Object数据类型,这个时候,需要前端转化为json字符串显示。

不知道你这个问题是否已经解决, 如果还没有解决的话:

如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^