配置文件/etc/httpd/conf/httpd.conf 监听80端口和8080端口 1.80端口 2.域名 3.index.html目录 4.网站目录 options Indexes //代表可以以目录形式访问 options -Indexes //代表不可以以目录形式访问 5.8080端口 ...
分类:
Web程序 时间:
2019-11-17 10:51:30
阅读次数:
93
const element = await page.$("#id"); if (element) console.log('对象存在') else console.log('对象不存在') ...
分类:
其他好文 时间:
2019-11-16 17:35:47
阅读次数:
110
Have you ever heard of the word "six degrees of separation"? It is said that two individuals are connected by at most five others. Lee is wondering ab ...
分类:
编程语言 时间:
2019-11-16 14:48:54
阅读次数:
70
目的 用PHP生成HTML文档, 支持标签嵌套缩进, 支持标签自定义属性 起因 这个东西确实也是心血来潮写的, 本来打算是输出HTML片段用的, 但后来就干脆写成了一个可以输出完整HTML的功能; 我很满意里边的实现缩进的机制, 大家有用到的可以看看p.s. 现在都是真正的前后端分离了(vue, n ...
分类:
Web程序 时间:
2019-11-16 12:58:02
阅读次数:
71
遇到的问题是:在thinkphp5.0框架下,出现错误 模块不存在:404? 问题跟踪分析: 不管是打断点还是var_dump,都可以分析到 Request.php 下的函数 /** * 获取当前请求URL的pathinfo信息(含URL后缀) * @access public * @return ...
分类:
Web程序 时间:
2019-11-16 11:01:16
阅读次数:
156
方法一:通过 watch 1 2 3 4 5 6 // 监听,当路由发生变化的时候执行 watch:{ $route(to,from){ console.log(to.path); } }, 或 1 2 3 4 5 6 7 8 9 10 // 监听,当路由发生变化的时候执行 watch: { $ro ...
分类:
其他好文 时间:
2019-11-15 18:41:56
阅读次数:
70
/// <summary> /// 发送post请求 /// </summary> /// <param name="filePath">文件路径</param> /// <param name="pID">患者ID</param> /// <returns></returns> public st ...
分类:
Web程序 时间:
2019-11-15 15:50:11
阅读次数:
124
载自:https://blog.csdn.net/ponxbin/article/details/80608040 关于版本比较新的数据库(Mysql8.0)连接的问题: he last packet sent successfully to the server was 0 millisecond ...
分类:
其他好文 时间:
2019-11-14 18:30:46
阅读次数:
103
Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero. To make pro ...
分类:
其他好文 时间:
2019-11-13 13:27:48
阅读次数:
79
Generator是一个迭代器生成函数,其返回值是一个迭代器(Iterator),可用于异步调用。 格式演示 { let tell = function* () { yield 'a' yield 'b' return 'c' } let k = tell() // 通过 next() 依次执行 y ...
分类:
其他好文 时间:
2019-11-12 18:32:06
阅读次数:
84