真机调试下看不到打印,安装Vconsole即可
npm i vconsole -S
main.js下
import Vconsole from 'vconsole'
if (window.location.hostname.includes('ncish-sit') || window.location.hostname.includes('localhost')) {
let vConsole = new Vconsole()
app.use(vConsole)
}
真机调试下看不到打印,安装Vconsole即可
npm i vconsole -S
main.js下
import Vconsole from 'vconsole'
if (window.location.hostname.includes('ncish-sit') || window.location.hostname.includes('localhost')) {
let vConsole = new Vconsole()
app.use(vConsole)
}