web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc ...
分类:
编程语言 时间:
2021-05-24 10:40:53
阅读次数:
0
路由导航守卫控制访问权限 一、如果用户没有登录,但是直接通过URL访问特定页面,需要重新导航到登录页面。 //为路由对象添加beforeEach导航守卫 router.beforeEach((to, from, next) => { // 如果用户登录的是登录页,直接放行 if (to.path ' ...
分类:
其他好文 时间:
2021-05-24 10:31:18
阅读次数:
0
vi ~/.bash_profile #GRADLE GRADLE_HOME=/Users/qinxy/software/gradle-4.9 PATH=$PATH:$GRADLE_HOME/bin export GRADLE_HOME GRADLE_USER_HOME PATH 更新效 sourc ...
分类:
系统相关 时间:
2021-05-24 10:27:44
阅读次数:
0
ConfigureAppConfiguration((hostingContext, config) => { config.AddCryptoFile(Path.Combine(AppContext.BaseDirectory, "appsettings.json.crypto"), true); ...
分类:
Web程序 时间:
2021-05-24 10:20:52
阅读次数:
0
System.Environment.CurrentDirectory的含义是获取或设置当前工作路径,而Application.StartupPath是获取程序启动路径,表面上看二者没什么区别,但实际上区别很大。先说前者:比如说你程序放在桌面上启动,但是中间你用了一个OpenFileDialog打开 ...
分类:
移动开发 时间:
2021-05-24 10:18:06
阅读次数:
0
const routers= [ { path:'/', name:'F', component:FP }, { path:'/secondpage', component:()=>import('../views/secondpage.vue') }, { path:'/thirdpage', c ...
分类:
其他好文 时间:
2021-05-24 09:30:56
阅读次数:
0
config.ini [phone] imei = 123456789 num = 0 / 14 build = 00WWYL test.py CUR_DIR = os.path.dirname(os.path.abspath(__file__)) configFilePath = os.path. ...
分类:
编程语言 时间:
2021-05-24 09:30:30
阅读次数:
0
关于非input框的自动化文件上传方法 (此处用百度的上传图片搜索做演示) 使用第三方库pywinauto (适用于window端) 首先创建driver对象用于打开百度网址,然后定位并点击照相机图标 from selenium import webdriver #从selenium库中导入webd ...
分类:
Web程序 时间:
2021-05-24 09:29:25
阅读次数:
0
# -*- coding: utf-8 -*-import os#设定文件路径path=r'D:\郭鹏历届真题解析2007-2020'i=1#对目录下的文件进行遍历for file in os.listdir(path):#判断是否是文件 file_name=os.path.join(path,fi ...
分类:
编程语言 时间:
2021-05-24 09:25:18
阅读次数:
0
参考地址:https://blog.csdn.net/I_lost/article/details/105244803 基本要求:ThinkPHP6.0的环境要求:PHP >= 7.1.0 6.0版本开始,必须通过Composer方式安装和更新,所以你无法通过Git下载安装。 当前环境:WAMPco ...
分类:
其他好文 时间:
2021-05-24 09:02:55
阅读次数:
0