摘自:https://www.jianshu.com/p/4f2566b67989 以后可能用的上 通常我们在vue项目中都是前端配置好路由的,但在一些项目中我们可能会遇到权限控制,这样我们就涉及到动态路由的设置了。 动态路由设置一般有两种: (1)、简单的角色路由设置:比如只涉及到管理员和普通用户 ...
分类:
其他好文 时间:
2020-11-13 12:11:15
阅读次数:
6
html代码 <a class="btn btn-primary fa fa-export" href="javascript:void(0);" onclick="expExcel()"><span>导出excel</span></a> js代码 function expExcel() { var ...
分类:
其他好文 时间:
2020-11-10 10:53:41
阅读次数:
4
恢复内容开始 感谢大佬的博客,受益匪浅 https://blog.csdn.net/weixin_42469716/article/details/102938021?ops_request_misc=%257B%2522request%255Fid%2522%253A%25221604317568 ...
分类:
其他好文 时间:
2020-11-07 16:41:07
阅读次数:
22
import React, { Component } from "react"; import { View, Text } from "@tarojs/components"; export default class Index extends Component { constructor( ...
分类:
其他好文 时间:
2020-11-07 15:33:04
阅读次数:
23
前言:Ubuntu下在使用搜狗拼音, 之前能正常使用, 但是最近几天输入法开始抽风, 无法输出中文,之后 打中文的速度一下子快起来了。但是当我打开 idea, phpstorm, sublime 这些软件之后傻眼了,发现输入不了中文,虽然习惯了coding的时候写英文注释,但是有些复杂的逻辑还是需要 ...
分类:
系统相关 时间:
2020-11-06 02:35:40
阅读次数:
25
<template> <router-view v-if="isRouterAlive"/> </template> <script> export default { data () { return { isRouterAlive: true } }, methods: { reload () ...
分类:
其他好文 时间:
2020-11-06 02:18:16
阅读次数:
21
https://blog.csdn.net/wqzbxh/article/details/84649485 SELECT concat(host,uri),ua FROM httpdataco WHERE uri LIKE '%BaiduApp_signed%'; 要点是concat这个函数实现拼接 ...
分类:
数据库 时间:
2020-11-04 18:04:06
阅读次数:
39
--查看当前数据库的字符集编码select userenv('language') from dual;1、head -5 a.dmp 可以看到dmp文件如果不兼容,你可以用sed修改版本号sed -i 's/11.02.01/10.02.01/g' a.dmp 2、字符集的问题版,在导出数据的时候 ...
分类:
数据库 时间:
2020-11-01 20:44:18
阅读次数:
24
我发现有些人习惯在 /etc/profile 文件里面配置环境变量,在这里配置挺不好的。 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (ba ...
分类:
系统相关 时间:
2020-11-01 10:17:26
阅读次数:
24