安装 cnpm i vconsole src/main.js引用 import Vconsole from 'vconsole'; const vConsole = new Vconsole(); Vue.use(vConsole) ojbk