应用为VUE单页应用,路由模式为history,web服务器为nginx,正常情况下如果直接通过url访问一个中间页(不是index.html)时,会看到nginx返回的404错误,这个问题目前我只能通过修改nginx站点配置文件来实现。 具体代码(只看红色加粗的部分就行): ...
分类:
Web程序 时间:
2020-01-22 12:48:51
阅读次数:
197
cookie history cookie最初是由网景公司开发的,现在所有主要的浏览器都支持它. type cookie分为两种:会话cookie和持久cookie. 会话cookie是一种临时的cookie,它记录用户的访问站点的设置偏好.用户在退出浏览器就会被删除. 持久cookie是存储在硬盘 ...
分类:
其他好文 时间:
2020-01-21 21:58:55
阅读次数:
58
1、history.back(),加载历史列表中的前一个 URL: (1)运行程序先进入此页面,点击文字链接后进入下一个页面: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <a ...
分类:
Web程序 时间:
2020-01-21 18:12:26
阅读次数:
81
环境变量和用户自定义变量最主要的区别在于,环境变量是全局变量,而用户自定义变量是局部变量。 用户自定义变量只在当前shell中生效,而环境变量会在当前shell中生效还会在当前shell的所有子shell中生效 如果把环境变量写入相应的配置文件,那么这个环境变量就会在所有的shell中生效。(如果不 ...
分类:
其他好文 时间:
2020-01-21 13:29:41
阅读次数:
95
1、几个重要的快捷键 (1) Tab 命令补齐或文件补齐 vtas@vtas-computer:~$ ca[tab][tab] cal calibrate_ppa canberra-gtk-play capsh case catchsegv cautious-launcher calendar ca ...
分类:
系统相关 时间:
2020-01-21 00:40:55
阅读次数:
98
level 11-13 <input name="t_link" value="" type="hidden"> <input name="t_history" value="" type="hidden"> <input name="t_sort" value="" type="hidden"> ...
分类:
其他好文 时间:
2020-01-20 14:56:37
阅读次数:
140
"题面" 题解 考虑计算每一个数的贡献 我们设严格小于第 $i$ 个数的数共有 $m_i$ 个 只要这个数前面的数都比他小并且后面有比他大的数他的贡献就能算进去 那么对于这个数 $i$ 的贡献就是 $$ \displaystyle a_i(n m_i 1)!(m_i)!\binom{n}{n m_i ...
分类:
其他好文 时间:
2020-01-18 10:43:09
阅读次数:
96
fft - find the frequency of a signal %% inputs: time, displacement, lift and drag coefficents % author: guofei, kaiming ai % output: normalised displa ...
分类:
其他好文 时间:
2020-01-16 23:37:50
阅读次数:
84
本文参考:https://blog.csdn.net/gomeplus/article/details/78241070 1. 在“Show History”中找到想要回退到的版本(oldVersion) 2.右击项目依次选中:Git->Repository->Reset HEAD 3. 选中Res ...
分类:
其他好文 时间:
2020-01-16 20:36:30
阅读次数:
108