Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 02e1d9d

Browse files
天气组件兼容问题
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‎

Lines changed: 6 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /