Skip to content

Commit 02e1d9d

Browse files
committed
天气组件兼容问题
1 parent cf819a4 commit 02e1d9d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/views/layout/components/Navbar/index.vue

+6
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ import MsgList from './components/MsgList'
117117
118118
// 显示天气的方法, 要在这个位置初始化
119119
(function (T, h, i, n, k, P, a, g, e) {
120+
for (const val of [T, h, i, n, k, P, a, g, e]) {
121+
if (!val) {
122+
console.log([T, h, i, n, k, P, a, g, e].indexOf(val))
123+
return
124+
}
125+
}
120126
g = function () {
121127
P = h.createElement(i)
122128
a = h.getElementsByTagName(i)[0]

0 commit comments

Comments
 (0)