Loading...
静态路由配置用户不登陆也可以查看的页面export const constantRouterMap = [ { path: '/', component: Layout, redirect: '/dashboard', children: [{ path: 'dashboard', compo...
npm i qrcodejs2<div id=test></div> var qrcode = new QRCode("...
const VueRouterPush = router.prototype.push; router.prototype.push = function push(to) { return VueRouterPush.call(this, to).catch(err => er...
import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) export default ...
安装jsonwebtokennpm install jsonwebtoken在业务逻辑处引入var jwt = require('jsonwebtoken');登录接口router.post('/login', (req, res) => { connection.query(s...