上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: 1、ref 可以绑定一个变量 2、对一个非list item 元素指定ref="example"的时候,可以使用 this.$refs.example 访问控件内部的函数。 3、对list item 绑定的时候,比如 index 是每个item的序号。每一个item使用 :ref="'example 阅读全文
posted @ 2020-09-28 13:29 xunhanliu 阅读(667) 评论(0) 推荐(0) 编辑
摘要: DirectX修复工具可修复一些常用的XXX.dll文件 1、下载并使用【DirectX修复工具】,修复DirectX组件。 1、下载Visual C++ Redistributable Packages for Visual Studio 2013 https://www.microsoft.co 阅读全文
posted @ 2020-08-03 23:12 xunhanliu 阅读(1278) 评论(0) 推荐(0) 编辑
摘要: 基本测试脚本(python): import time,requests def test_ip_freq(freq): if freq==0: return #测试1分钟 delay=1/freq t0=time.time() requests_num=0 status="success" whi 阅读全文
posted @ 2020-07-27 12:12 xunhanliu 阅读(1446) 评论(0) 推荐(0) 编辑
摘要: setting.json { "editor.detectIndentation": false, "files.autoSave": "onWindowChange", // "eslint.autoFixOnSave": true, "files.associations": { "*.vue" 阅读全文
posted @ 2020-07-21 14:32 xunhanliu 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 问题情景: scrapy爬取网页,返回值418(按照请求来说,是一个完整的网络请求)。说明此接口已经被后台爬虫检测程序检测到了。 通过研读scrapy文档,在自定义的418检测下载中间件里面,process_response中检测返回值,并设置request的http/https代理,然后retur 阅读全文
posted @ 2020-07-08 18:42 xunhanliu 阅读(958) 评论(0) 推荐(0) 编辑
摘要: 1、确保绑定元素的正确性。尽量对一个图元进行绑定事件。 2、确保图层的顺序。例如,你编写了一个tooltip功能。mouseover元素A后,tooltip图层的z-index一定比当前元素A的z-index大的,这可能就形成tooltip组件对元素A的覆盖问题。鼠标稍微移动,会自动触发元素A的mo 阅读全文
posted @ 2020-06-28 17:42 xunhanliu 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-02-21 19:57 xunhanliu 阅读(260) 评论(0) 推荐(1) 编辑
摘要: 环境 mongo版本4.2(from: https://www.mongodb.com/download-center/enterprise)。windows x64平台。 正常安装的时候,就一直点下一步就行了。(默认会安装一个mongoDB compass, 它是一款比较推荐的mongo数据库查看 阅读全文
posted @ 2020-01-24 12:47 xunhanliu 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 你应该在你的postMessage中传入了不可clone的参数。比如一些HTML element。因为这些元素即使传过去了(cloned),也无法操作啊! 阅读全文
posted @ 2020-01-12 01:09 xunhanliu 阅读(13188) 评论(0) 推荐(0) 编辑
摘要: 通信例子 parent: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>MathJax v3 with 阅读全文
posted @ 2020-01-11 17:27 xunhanliu 阅读(418) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页