lwb-2021 2022-05-03 13:04 采纳率: 50%
浏览 75
已结题

Vue.js页面不显示

做vue项目的时候出现了问题,页面空白,控制台报错


<template>
  <App>
  </App>
</template>
<script>
export default {
  name: "App"
}
//这么写控制台里还是会报错
</script>

<style>
</style>

报错内容:

app.js:149 Uncaught RangeError: Maximum call stack size exceeded
    at Object.get (runtime-core.esm-bundler.js?d2dd:6900:1)
    at Object.set (runtime-core.esm-bundler.js?d2dd:6811:1)
    at Object.defineProperty (runtime-core.esm-bundler.js?d2dd:6862:1)
    at Function.defineProperty (<anonymous>)
    at def (shared.esm-bundler.js?69a7:560:1)
    at markRaw (reactivity.esm-bundler.js?89dc:957:1)
    at setupStatefulComponent (runtime-core.esm-bundler.js?d2dd:7098:1)
    at setupComponent (runtime-core.esm-bundler.js?d2dd:7063:1)
    at mountComponent (runtime-core.esm-bundler.js?d2dd:4951:1)
    at processComponent (runtime-core.esm-bundler.js?d2dd:4926:1)

全部展开之后

get    @    runtime-core.esm-bundler.js?d2dd:6900
set    @    runtime-core.esm-bundler.js?d2dd:6811
defineProperty    @    runtime-core.esm-bundler.js?d2dd:6862
def    @    shared.esm-bundler.js?69a7:560
markRaw    @    reactivity.esm-bundler.js?89dc:957
setupStatefulComponent    @    runtime-core.esm-bundler.js?d2dd:7098
setupComponent    @    runtime-core.esm-bundler.js?d2dd:7063
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4951
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
mountComponent    @    runtime-core.esm-bundler.js?d2dd:4968
processComponent    @    runtime-core.esm-bundler.js?d2dd:4926
patch    @    runtime-core.esm-bundler.js?d2dd:4518
componentUpdateFn    @    runtime-core.esm-bundler.js?d2dd:5066
run    @    reactivity.esm-bundler.js?89dc:185
setupRenderEffect    @    runtime-core.esm-bundler.js?d2dd:5185
  • 写回答

2条回答 默认 最新

  • go_with_dream 2022-05-03 13:21
    关注

    亲,代码死循环了,把第三和第四行删掉试试

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 5月12日
  • 已采纳回答 5月4日
  • 创建了问题 5月3日

悬赏问题

  • ¥15 ios可以实现ymodem-1k协议 1024字节传输吗?
  • ¥300 寻抓云闪付tn组成网页付款链接
  • ¥15 请问Ubuntu要怎么安装chrome呀?
  • ¥15 视频编码 十六进制问题
  • ¥15 Xsheii7我安装这个文件的时候跳出来另一个文件已锁定文件的无一部分进程无法访问。这个该怎么解决
  • ¥15 unity terrain打包后地形错位,跟建筑不在同一个位置,怎么办
  • ¥15 FileNotFoundError 解决方案
  • ¥15 uniapp实现如下图的图表功能
  • ¥15 u-subsection如何修改相邻两个节点样式
  • ¥30 vs2010开发 WFP(windows filtering platform)