<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<div id="app">
{{message}}
</div>
</body>
<script src="https://bbs.csdn.net/topics/js/vue.min.js" type="text/javascript" charset="utf-8"></script>
<script>
new Vue({
el: "#app",
data: {
message: "你好"
},
mounted() {
}
})
</script>
</html>
用本地瀏覽器打開index.html可以正常,沒有報錯
部署到tomcat服務上報錯
bundle.js:8 Uncaught TypeError: this.setFilesInPage is not a function
at VueComponent.ready (bundle.js:8)
at VueComponent.e._callHook (bundle.js:5)
at VueComponent.t (bundle.js:5)
at VueComponent.o (bundle.js:5)
at VueComponent.Eo.e.$emit (bundle.js:5)
at VueComponent.e._callHook (bundle.js:5)
at t (bundle.js:5)
at VueComponent.e.$before (bundle.js:5)
at xo.transition (bundle.js:6)
at xo.mountComponent (bundle.js:6)
ready @ bundle.js:8
e._callHook @ bundle.js:5
t @ bundle.js:5
o @ bundle.js:5
Eo.e.$emit @ bundle.js:5
e._callHook @ bundle.js:5
t @ bundle.js:5
e.$before @ bundle.js:5
transition @ bundle.js:6
mountComponent @ bundle.js:6
(anonymous) @ bundle.js:6
(anonymous) @ bundle.js:6
o @ bundle.js:4
Fo.e._resolveComponent @ bundle.js:5
resolveComponent @ bundle.js:6
setComponent @ bundle.js:6
bind @ bundle.js:6
xo._bind @ bundle.js:6
Ht @ bundle.js:4
(anonymous) @ bundle.js:4
e._compile @ bundle.js:5
So.e.$mount @ bundle.js:5
Oe.e._init @ bundle.js:4
Co @ bundle.js:5
(anonymous) @ bundle.js:3
load (async)
(anonymous) @ bundle.js:3
f @ bundle.js:1
n @ bundle.js:1
(anonymous) @ bundle.js:1
f @ bundle.js:1
(anonymous) @ bundle.js:1
(anonymous) @ bundle.js:1
VM251:97 Uncaught TypeError: Cannot read property 'geAdapter' of undefined
at WebSocket._ws.onopen (eval at e.exports (bundle.js:3), <anonymous>:97:47)
_ws.onopen @ VM251:97
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/246696.html
標籤:應用服務器
上一篇:Api介面:交強險投保日期查詢
