一、使用vue-cli创建模板项目 1、什么是vue-cli 是vue官方提供的脚手架工具。脚手架工具简单讲就是自动将项目需要的环境、依赖等信息都配置好。 2、全局安装vue-cli (1)检查npm 版本,建议安装到最新版本。 【命令行查看版本号】 node -v npm -v 【升级npm(可选 ...
分类:
其他好文 时间:
2020-12-08 12:15:31
阅读次数:
3
#GET my_store/_search{ "query": { "match_all": {} }}#添加索引PUT /test2{ "mappings": { "properties": { "name":{ "type": "text" }, "age":{ "type": "long" } ...
分类:
其他好文 时间:
2020-12-08 12:13:35
阅读次数:
4
import time, threading, copy import win32api, win32con import win32gui import win32gui def zhaojb(aa): mu=0 jh=[] hwnd_title = dict() def get_all_hwnd ...
分类:
编程语言 时间:
2020-12-07 12:31:48
阅读次数:
6
这两天在尝试让winform程序在电脑开机时自动打开,通过将软件的执行路径加入到注册表“HLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run”下后,电脑重启后软件能够自动打开,但是在打开时提示“未能加载xxx程序集”。通过对程序的执行路径分析发现,通过第 ...
docker安装nginx及使用dockfile创建镜像和使用 ...
分类:
其他好文 时间:
2020-12-07 12:21:11
阅读次数:
6
说明:类型为trait,引入后可以在不修改类代码的情况下,为类植入新的方法(类的方法或静态方法均可)。使用__call实现 引入: <?php require 'vendor/autoload.php'; use Illuminate\Support\Traits\Macroable; //$app ...
分类:
系统相关 时间:
2020-12-07 12:06:18
阅读次数:
9
@app.route(’/user/<username>’) @app.route(’/post/<int:post_id>’) @app.route(’/post/<float:post_id>’) @app.route(’/post/<path:path>’) @app.route(’/logi ...
分类:
其他好文 时间:
2020-12-07 12:01:12
阅读次数:
4
一、元组定义 python中的元组与列表类似,不同之处在于元组的元素不能修改 元组使用小括号 () ,列表使用方括号 [ ] 元组创建和简单,只需要在括号中添加元素,并使用逗号隔开即可。 创建元组示例: tup1 = ('Google', 'Runoob', 1997, 2000) tup2 = ( ...
分类:
编程语言 时间:
2020-12-05 10:49:01
阅读次数:
7
定义 命名空间:System.Threading.Tasks,继承:Object,派生:System.Threading.Tasks.Task<TResult>,实现:IAsyncResult IDisposable 注解 Task类表示不返回值并且通常以异步方式执行的单个操作。 Task 对象是在 ...
分类:
Web程序 时间:
2020-12-05 10:43:22
阅读次数:
9
解决Jmeter插件ERROR:java.io.IOException:AgentisunreachableviaTCP的错误今天在centos上搭建jmeter监控服务,服务正常启动,我点击run,就在一切看起来很美好的时候,报错了,ERROR:java.io.IOException:AgentisunreachableviaTCP报错原因:1、查看端口是否占用:netstat-lnp|grep
分类:
编程语言 时间:
2020-12-05 10:32:29
阅读次数:
7