https://mp.weixin.qq.com/s/Gel1eMHz6_eDWgDMaBQ5BQ 这篇文章主要给大家介绍了关于在Laravel 5中如何使用Laravel Excel实现Excel/CSV文件导入导出功能的相关资料,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考 ...
分类:
其他好文 时间:
2018-07-17 14:11:41
阅读次数:
331
对于centos7的开机它默认是关闭,特别是一些远程登录,由于网络没开一直无法登陆上去,所以可以设置开机让他自动开启 开启的文件如下:/etc/sysconfig/network-scripts/ifcfg-eno16777736 切换到root通过vim进行编辑: 只需要将ONBOOT设置为yes ...
分类:
其他好文 时间:
2018-07-14 10:58:02
阅读次数:
399
1. $route是一个对象 可以获取当前页面的路由的路径query、params、meta等参数; 2.$router是VueRouter的一个实例对象 在options中可以获取路由的routes配置参数。 ...
分类:
其他好文 时间:
2018-07-12 13:29:05
阅读次数:
112
class Router { constructor() { this.routes = [] } handle(pattern, handler) { this.routes.push({ pattern, handler }) } exec(pathname) { for (const rout ...
分类:
Web程序 时间:
2018-07-10 21:37:09
阅读次数:
161
修改router的mode为history就可以 const router = new VueRouter({mode: 'history', routes: [...]}) 实际修改后需要注意修改assetPublicPath,调整静态资源路径,自己调试下,查看现有的路径,就知道改怎么改了 ...
分类:
Web程序 时间:
2018-07-05 17:17:44
阅读次数:
264
有关react的ui组建antd.design新推出的pro版本,最近用到了路由方面。 common与routes; 首先需要在menu.js里面配置: { name: '精品', icon: 'dashboard', path: 'finequality', children: [ { name: ...
分类:
其他好文 时间:
2018-07-04 17:33:38
阅读次数:
499
一、重定向 重定向也是通过 routes 配置来完成,下面例子是从 /a 重定向到 /b: 先参数解构,获取hash、params、query,然后根据获取值进行逻辑判断之后动态路由重定向。这里的return值是path值,而不是params值,必须是一个已经存在的path才能进行路由重定向。而且这 ...
分类:
其他好文 时间:
2018-07-03 15:01:48
阅读次数:
127
By default, vue-router doesn’t lazy load the routes unless you tell it to do it. Lazy loading of the non-critical routes is one of the points of the P ...
分类:
Web程序 时间:
2018-07-02 21:34:22
阅读次数:
259
#!/usr/bin/python # -*- coding: UTF-8 -*- import bottle #bottle.debug(True) import time,sys,os import MySQLdb from bottle import route,error,template,... ...
分类:
其他好文 时间:
2018-06-29 01:13:19
阅读次数:
151