###linux高级命令 ###1.1、find 功能:在linux文件系统中,用来查找一个文件放在哪里了。 举例:find /etc -name "interfaces" 总结: (1)什么时候用find? 当你知道你要找的文件名,但是你忘记了它被放在哪个目录下,要找到该文件时,用find。 (2 ...
分类:
系统相关 时间:
2021-02-25 12:05:43
阅读次数:
0
//输入框传值 <div> <input ref={c => this.keyWordElement = c} type="text" placeholder="输入关键词点击搜索"/> <button onClick={this.search}>搜索</button> </div> / ...
分类:
其他好文 时间:
2021-02-24 13:01:28
阅读次数:
0
# -*- coding: UTF-8 -*- import pymongo # 连接数据库 client = pymongo.MongoClient('localhost',27017) db=client['qunar'] collection=db['departures'] # 读取数据 d ...
分类:
数据库 时间:
2021-02-23 14:03:33
阅读次数:
0
准备2张图片用于替换选中和未选中时的样式 drawable下准备两个对应的layer-list btn_radio_on.xml <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android ...
分类:
移动开发 时间:
2021-02-22 12:40:31
阅读次数:
0
滑动窗口(2) 绝对差不超过限制的最长连续子数组 给你一个整数数组 nums ,和一个表示限制的整数 limit,请你返回最长连续子数组的长度,该子数组中的任意两个元素之间的绝对差必须小于或者等于 limit 。 如果不存在满足条件的子数组,则返回 0 。 看到子数组,想到了滑动窗口。 滑动窗口的优 ...
分类:
其他好文 时间:
2021-02-22 12:36:53
阅读次数:
0
Vue-Router <router-link> 该标签是一个vue-router中已经内置的组件 它会被渲染成一个a标签 tag <router-link tag="button"></router-link> 此时不会默认渲染成a标签 而是button按钮 replace replaceStat ...
分类:
其他好文 时间:
2021-02-22 12:36:06
阅读次数:
0
<input type="button" value="禁用文本框" id="btn"/> <input type="text" value="" id="txt"/> <script src="common.js"></script> <script> //点击按钮禁用这个文本框 document ...
分类:
Web程序 时间:
2021-02-22 12:07:15
阅读次数:
0
语句: SELECT ( SELECT GROUP_CONCAT( title ) FROM shop_goods_spu_specification_sub WHERE FIND_IN_SET( id, sku.spec_ids ) ) AS title FROM shop_goods_cart ...
分类:
数据库 时间:
2021-02-22 11:57:21
阅读次数:
0
expected_conditions模块: 是Selenium的一个子模块,selenium.webdriver.support.expected_conditions 可以对网页上元素是否存在进行判断,一般用于断言或与WebDriverWait配合使用 1 import time 2 from ...
分类:
Web程序 时间:
2021-02-22 11:51:54
阅读次数:
0
如果我们不想让也面初始化的时候就加载所有的组件,就会用到动态组件 常用的场景是多tab的页面,每一个tab是一个组件这种 示例1:这是没有使用动态组件的时候 <template> <div> <button @click="check">{{ !show ? "展示组件" : "隐藏组件" }}</ ...
分类:
其他好文 时间:
2021-02-20 12:15:23
阅读次数:
0