国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

javascript - vue 2.0 debugger 報錯
PHP中文網(wǎng)
PHP中文網(wǎng) 2017-05-19 10:37:15
0
2
822

I would like to ask where to put the debugger in vue, why is it reporting an error, and how to fix it?

PHP中文網(wǎng)
PHP中文網(wǎng)

認(rèn)證高級PHP講師

reply all(2)
小葫蘆

Hey...look at the error report in English...

The description is Unreachable code,中文意思就是無法達(dá)到的代碼.
This means that this code will never run.

Look at the specific code you wrote. Behind this debugger放在了return 0, it will definitely not work.


There are two solutions. One is to verify your debugger語句放到return 0前面,要么就修改掉eslintabout this entry. It even gives you a link to the detailed description of this item:
no-unreachable

洪濤

This is an error reported by eslint. There will be no problems in executing your code, but you will not get the results you expected. The reason is as shown in the picture. The debugger line is after return and can never be executed. You should change the break point.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template