摘要: import CryptoJS from 'crypto-js'export function Encrypt(word) { let key = 'adsyto1234567890'; let iv = '123456789channel'; key = CryptoJS.enc.Utf8.par 阅读全文
posted @ 2018-11-08 09:08 前端小栈 阅读(1466) 评论(0) 推荐(0) 编辑
摘要: router.beforeEach((to, from, next) => { if (localStorage.getItem("userRole") !== 'operator') { if (router.options.routes.length < 14) { let auditRoute 阅读全文
posted @ 2018-11-08 09:06 前端小栈 阅读(3552) 评论(0) 推荐(0) 编辑