初始化 初次加载组件的时候,会调用一次render函数 更新 1. state发生改变 2. props发生改变 强制更新 如果不是前两种,还希望组件发生更新,可以使用 注意: 强制渲染 不可以写为`强制渲染` ...
分类:
其他好文 时间:
2020-04-18 09:40:40
阅读次数:
263
插件查找background 安装并运行 在setting.json 文件中 设置 重启VSCode 用管理员权限打开 即可 //background 的相关配置 "update.enableWindowsBackgroundUpdates": true, "background.customIma ...
分类:
其他好文 时间:
2020-04-18 09:35:42
阅读次数:
126
1. 直接控制硬件 arch : Soc 相关 drivers : 硬件驱动 2. block: 块设备操作逻辑 kernel : 内核实现 net mm : 内存管理 fs : 各种文件系统实现 3. security crypto : 加解密算法 usr : initramfs 相关 ipc : ...
分类:
其他好文 时间:
2020-04-17 22:04:31
阅读次数:
94
1 class NumArray 2 { 3 vector<int> num; 4 public: 5 NumArray(vector<int>& nums) 6 { 7 num = nums; 8 } 9 10 void update(int i, int val) 11 { 12 num[i] ...
分类:
编程语言 时间:
2020-04-17 00:16:22
阅读次数:
70
在b站中,查看视频。下载flash 下载 到此安装成功! 2.安装Adobe Flash插件 sudo apt update sudo apt install adobe-flashplugin browser-plugin-freshplayer-pepperflash ...
分类:
系统相关 时间:
2020-04-17 00:13:27
阅读次数:
71
1、题目描述 对于如下表actor,其对应的数据为: actor_idfirst_namelast_namelast_update 1 PENELOPE GUINESS 2006-02-15 12:34:33 2 NICK WAHLBERG 2006-02-15 12:34:33 创建一个actor ...
分类:
其他好文 时间:
2020-04-16 19:44:34
阅读次数:
79
update table_p as p set p_name = a.name,p_user = a.user_id,p_type = 'P02' from ( select x.user_id,x.name,x.p_id from table_u x join table_p y on x.p_i ...
分类:
数据库 时间:
2020-04-16 15:27:59
阅读次数:
83
一.事务 mysql中,事务是一个最小的不可分割单元.事务能够保证一个业务的完整性. eg:银行转账 a -> -100 update user set money=money-100; b -> +100 update user set money=money+100; 实际程序中,如果只有一条语 ...
分类:
数据库 时间:
2020-04-16 15:02:28
阅读次数:
76
[toc] 理论 1. 什么是ingress 简单理解,ingress就是将pod所提供的服务暴露出来,能够让k8s集群外部访问到对应的服务。 2. 为什么要使用ingress? 除了可以使用ingress。我目前使用过的还有nodeport,nodeport直接映射集群中每台主机的端口,可以通过访 ...
分类:
其他好文 时间:
2020-04-16 11:41:05
阅读次数:
73
1、Mapper for [tags] conflicts with existing mapping in other types:\n[mapper [tags] is used by multiple types. Set update_all_types to true to update ...
分类:
其他好文 时间:
2020-04-16 00:30:12
阅读次数:
165