1.创建一个子组件colNav 2.将创建的子组件中的js文件的Page改成Component,必要 3.在子组件的json文件中,设置"component": true { "usingComponents": {}, "component": true } 4.子组件接收父组件传来的参数,在js ...
分类:
微信 时间:
2021-06-06 19:14:57
阅读次数:
0
相关文件 muduo/net/http/* HttpRequst:http请求类 HttpResponse: http响应类 HttpContext: http协议解析类 HttpServer: http服务器类 作用 解析http请求,用户只需根据http请求类,设置好响应类,http服务器会把响 ...
分类:
Web程序 时间:
2021-06-06 19:11:18
阅读次数:
0
spring 1. prepareRefresh() Prepare this context for refreshing. 刷新前的预处理 表示在真正做refresh操作之前需要准备做的事情: 1. 设置Spring容器的启动时间, 2. 开启活跃状态,撤销关闭状态 3. 验证环境信息里一些必须 ...
分类:
编程语言 时间:
2021-06-06 19:09:27
阅读次数:
0
shutdown和close都可以用来关闭TCP连接, 那么它们有区别与联系呢? 下面来研究下这个问题: 1. close 关闭连接和套接字. 成功返回0; 失败为-1, errno被设置 #include <unistd.h> int close(int fd); close会把描述符(sockf ...
分类:
系统相关 时间:
2021-06-06 19:09:08
阅读次数:
0
1. Python 安装和设置环境变量之后报错 zsh: killed python3 解决:MAC M1系统只支持python 3.9, 不支持3.6 和3.7 安装命令: 先安装brew : /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/H ...
分类:
编程语言 时间:
2021-06-06 18:47:01
阅读次数:
0
1.1、设置Chrome属性Chromen属性,快捷方式标签下,目标后面加上参数 --remote-debugging-port=6001 --user-data-dir="C:\ProgramFiles\Chrome" 1.2、编写代码 from selenium import webdriver ...
分类:
其他好文 时间:
2021-06-06 18:45:41
阅读次数:
0
body中设置属性margin:0 auto但是效果没有显示 说明:练习rem+less+媒体查询案例时,引入两个css文件(index.css 和 normalize.css),在index.css文件中有设置body{margin: 0 auto},但是显示结果如下: 发现body并没有居中。 ...
分类:
其他好文 时间:
2021-06-06 18:43:43
阅读次数:
0
阅读原文 一、下载windows版本的Redis 官网下载地址:http://redis.io/download github下载地址:https://github.com/MSOpenTech/redis/tags 二、安装Redis 1.这里下载的是Redis-x64-3.2.100版本,我的电 ...
SSH无密登录配置 1)配置ssh (1)基本语法 ssh另一台电脑的ip地址 (2)ssh连接时出现Host key verification failed的解决方法 ssh hadoop103 出现: The authenticity of host 'hadoop103 (192.168.18 ...
分类:
其他好文 时间:
2021-06-05 18:38:40
阅读次数:
0
class Term(models.Model): class Meta: db_table = 'term' tid = models.BigAutoField(primary_key=True, null=False, help_text='终端唯一ID') ...
分类:
其他好文 时间:
2021-06-05 18:37:35
阅读次数:
0