03 2020 档案

摘要:const mapfunc = function (routers, routermap, curlevelrouters) { routers.foreach(todoroute => { routermap.foreach(maproute => { if(maproute.menucode t 阅读全文
posted @ 2020-03-25 16:20 不服憋着 阅读(290) 评论(0) 推荐(0)
摘要://导入import NProgress from 'nprogress'import 'nprogress/nprogress.css' router.beforeEach((to, from, next) => { NProgress.start() next()}) router.afterE 阅读全文
posted @ 2020-03-25 10:49 不服憋着 阅读(470) 评论(0) 推荐(0)
摘要:var canvas = document.getElementsByTagName("canvas"); if(canvas&&canvas.length>0){ // 创建标签 var oA = document.createElement("a"); // 设置下载名称 oA.download 阅读全文
posted @ 2020-03-19 16:56 不服憋着 阅读(262) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <div id="app"> <input type="text" v-model="text" /> {{text}} </div 阅读全文
posted @ 2020-03-16 14:12 不服憋着 阅读(179) 评论(0) 推荐(0)
摘要:const excludes = ['./index.js'] const context = require.context('./filepath',true,/\.js/) const routerMap = context.keys().filter( url => { return exc 阅读全文
posted @ 2020-03-13 17:36 不服憋着 阅读(965) 评论(0) 推荐(0)
摘要:.selectBox{ /deep/.el-select_tags{ span:first-child{ max-width:100%; text-align:left; .el-tag--light:first-child{ display:inline-block; max-width:100% 阅读全文
posted @ 2020-03-10 13:42 不服憋着 阅读(1254) 评论(0) 推荐(0)