v-on的理解 监听DOM元素的事件,并在触发时执行一些js代码 <template> <div> <!-- v-on监听DOM事件,并在触发时做一些js的操作,如下代码可以将js操作直接放在事件中 --> <button v-on:click="num++">点击按钮+1</button> <h3 ...
分类:
其他好文 时间:
2021-03-10 13:23:30
阅读次数:
0
问题 vscode使用chrome调试报错"无法访问您的文件"或者"localhost 拒绝了我们的连接请求"。 解决 ctrl+p 搜索launch.json文件 改为: { "version": "0.2.0", "configurations": [ { "name": "使用本机 Chrom ...
分类:
其他好文 时间:
2021-03-10 13:21:22
阅读次数:
0
02·自动化运维工具Ansible ad-hoc MarkdownHTML 02·自动化运维工具-Ansible ad-hoc 02·自动化运维工具-Ansible ad-hoc Ansible ad-hoc Ansible命令模块 Ansible软件管理模块 Ansible文件管理模块 Ansib ...
分类:
其他好文 时间:
2021-03-09 13:31:52
阅读次数:
0
基本体现在代码中的meta标签之中 关键字 <meta name="keywords" content="关键字1, 关键字2, 关键字3" /> 描述 <meta name="description" content="这里写对这个网页的描述"> 重定向 <meta http-equiv="ref ...
分类:
其他好文 时间:
2021-03-09 13:12:19
阅读次数:
0
1 int ngx_cdecl 2 main(int argc, char *const *argv) 3 { 4 ngx_buf_t *b; 5 ngx_log_t *log; 6 ngx_uint_t i; 7 ngx_cycle_t *cycle, init_cycle; 8 ngx_conf ...
分类:
其他好文 时间:
2021-03-09 13:10:05
阅读次数:
0
Description 题目见 https://leetcode.com/problems/diagonal-traverse-ii/ code 这是考验智商的题目~~ 我的代码 import bisect class Solution(object): def findDiagonalOrder( ...
分类:
其他好文 时间:
2021-03-09 12:53:59
阅读次数:
0
linux上nginx位置/usr/local/nginx。 停止nginx ps -ef | grep nginx 找到nginx进程(会列出三个) kill -QUIT <进程号> 杀掉进程(上面中,找到root且是nginx的根进程号) 后台nginx启动 /usr/local/nginx/s ...
分类:
系统相关 时间:
2021-03-08 14:17:06
阅读次数:
0
v-html的使用 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.j ...
分类:
其他好文 时间:
2021-03-08 14:01:11
阅读次数:
0
json格式与字符串格式相互转换及输出 <script type="text/javascript"> var user = { name:"张三", age:3, sex:"男"} console.log(user); //转化为json对象 //将js对象转化为json字符串 var str = ...
分类:
编程语言 时间:
2021-03-08 13:11:19
阅读次数:
0
JavaScript使用 算术运算符 来计算值: JavaScript使用赋值运算符给变量赋值: ...
分类:
Web程序 时间:
2021-03-06 15:09:56
阅读次数:
0