摘要: WPF中有两种焦点 keyboard focus 键盘焦点 logical focus 逻辑焦点 键盘焦点 首先元素的Focusable和IsVisible属性必须设置为true,获得键盘焦点后元素等待输入,可以通过键盘输入字符 Control.IsKeyboardFocused Keyboard. 阅读全文
posted @ 2022-07-09 17:10 内心澎湃的水晶侠 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 删除文件下所有js文件 在你要删除的文件目录下面运行命令 del /s *.js 关闭iwndows10 自动更新 http://www.xitongcheng.com/jiaocheng/win10_article_48321.html mklink /d "E:\bbb1" "D:\aaa" e 阅读全文
posted @ 2022-07-09 17:09 内心澎湃的水晶侠 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 1 下载PHP,把产物放到一个位置,配置环境变量,使得能够找到 php.exe即可 2 在 php.ini 文件中找到这一行: ;extension_dir = "ext" 去掉前面的分号,保存文件 3 安装扩展, https://getcomposer.org/download/ 然后就可以运行 阅读全文
posted @ 2022-07-09 17:08 内心澎湃的水晶侠 阅读(163) 评论(0) 推荐(0) 编辑
摘要: npm install --force 解决问题:npm ERR! Error: EPERM: operation not permitted, rename npm install -g webpack 解决问题:'webpack' is not recognized as an internal 阅读全文
posted @ 2022-07-09 17:07 内心澎湃的水晶侠 阅读(119) 评论(0) 推荐(0) 编辑
摘要: // 判断变量否为function const isFunction = variable => typeof variable 'function' // 定义Promise的三种状态常量 const PENDING = 'PENDING' const FULFILLED = 'FULFILLED 阅读全文
posted @ 2022-07-09 17:06 内心澎湃的水晶侠 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 默认div不能得焦点,tabindex -1 设置成0或者其他正值可以得焦点 div tabindex -1,不影响子元素得焦点 被滚动条撑大得div在firefox下,默认可以得焦点 浏览器 getBoundingRect 方法返回的是相对于当前浏览器可视区域的top left 但是应用绝对布局的 阅读全文
posted @ 2022-07-09 17:05 内心澎湃的水晶侠 阅读(25) 评论(0) 推荐(0) 编辑
摘要: element.getBoundingClientRect(); 阅读全文
posted @ 2022-07-09 17:05 内心澎湃的水晶侠 阅读(12) 评论(0) 推荐(0) 编辑
摘要: combobox 控件 选中某一项目: document.getElementById('personlist').value=17; document.getElementById('personlist').selectedIndex=2; 单选控件 A B C D CSS接口 input[ty 阅读全文
posted @ 2022-07-09 17:03 内心澎湃的水晶侠 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 记得所有的控件都需要在AppModule的declarations里声明 记得在AppModule里面的imports里面引用FormsModule 事件顺序: 第一步:UI壳子,不替换绑定属性的值 1.执行父组件构造器 2.根据父组件的模板生成DOM,生成到某一部分,发现是子组件,停下来。前面的元 阅读全文
posted @ 2022-07-09 17:01 内心澎湃的水晶侠 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 绝对定位时,不是相对于父容器最左侧的那个点,而是相对于左上角,减去border之后定位的 阅读全文
posted @ 2022-07-09 17:00 内心澎湃的水晶侠 阅读(13) 评论(0) 推荐(0) 编辑
摘要: tabindex attribute: 按下tab键,先挑出设置tabindex,并且值大于0的。按照tabindex从小到大移动。 再挑出没有设置tabindex 和设置了并且设置成0的,按照在html代码结构里的顺序进行移动。 navigator.userAgent: Mozilla/5.0 ( 阅读全文
posted @ 2022-07-09 17:00 内心澎湃的水晶侠 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 加了@ 符号的 如果需要用" 需要写两个 " 零宽度断言 (?!yanghanxing). ^((?!yanhanxing).)*$ 正则表达式断言: 正向先行断言 re(?=gular). 匹配到红色这部分,必须出现gular,看出现了,那好,结束了,仅仅是看一下,然后接着用.去匹配 re(?!g 阅读全文
posted @ 2022-07-09 16:59 内心澎湃的水晶侠 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 在一个文件或模块中,export、import可以有多个,export default仅有一个 //a.js const str = "blablabla~"; export default str; 但是export 可以使用多个 export {e1,e2,e3} export {e5,e6} 阅读全文
posted @ 2022-07-09 16:59 内心澎湃的水晶侠 阅读(13) 评论(0) 推荐(0) 编辑
摘要: git checkout -- . git checkout %conf.git-default-branch-name% . git pull -f git branch 错误: You have not concluded your merge (MERGE_HEAD exists). Plea 阅读全文
posted @ 2022-07-09 16:58 内心澎湃的水晶侠 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 打开 Vue网站,尝试发送ajax请求,访问百度 浏览器报错误 发现响应的头部字段,确实没有 Access-Control-Allow-Origin 字段 观察发送的字段: 尝试一: 不让请求包含Origin: 发现浏览器依旧在校验 Access-Control-Allow-Origin 字段 尝试 阅读全文
posted @ 2022-07-09 16:41 内心澎湃的水晶侠 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 传统的协议: http—–>tcp HTTPS: http——>SSL—–>tcp 阅读全文
posted @ 2022-07-09 16:35 内心澎湃的水晶侠 阅读(27) 评论(0) 推荐(0) 编辑
摘要: GET / or compiler error can't resolve all parameters for ApplicationModule: (?). Just follow these simple steps : 1 Install core-js modeule. npm i cor 阅读全文
posted @ 2022-07-09 16:34 内心澎湃的水晶侠 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 如何增加 custom webpack 配置 { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "s 阅读全文
posted @ 2022-07-09 16:33 内心澎湃的水晶侠 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 1. 标题 2. 分隔线 *** 3. 删除线 ~~今天~~ 4. 列表 5. 左侧显示竖线 > 区块引用 6. 代码 7. 链接 [打开链接](https://www.runoob.com) 8. 图片 ![图片](http://static.runoob.com/images/runoob-lo 阅读全文
posted @ 2022-07-09 16:30 内心澎湃的水晶侠 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 注意直接从网上 下载下来的zip,直接解压发现dll不能被正确加载 VS 编译时报了下面的错误: 'Could not load file or assembly '0' or one of its dependencies. Operation is not supported. (Excepti 阅读全文
posted @ 2022-07-09 16:23 内心澎湃的水晶侠 阅读(235) 评论(0) 推荐(0) 编辑