1.打开F12,切换到console 2.xpath定位,输入:$x("your_xpath_str") 3.css定位,输入:$$("your_css_str") 4.id,document.getElementById("xx") 5.class,document.getElementByCla ...
分类:
其他好文 时间:
2021-06-02 14:23:20
阅读次数:
0
使用爬虫爬取图片,然后设置为桌面背景 全部函数 还有好多路径错误,有待优化 使用pyinster打包出exe执行文件 ...
分类:
编程语言 时间:
2021-06-02 14:19:58
阅读次数:
0
// 定义瓶码字符串 $bianhaop_str = substr($bianhaop_str,1); $bianhaop_arr = explode(',', $bianhaop_str); if(!empty($bianhaop_arr)){ //判断本身是否存在重复项 if(count(arr ...
分类:
编程语言 时间:
2021-06-02 14:10:18
阅读次数:
0
在写歌单评论中,遇到一个问题,提交自己的评论后,会重新获取一次评论的数据,发现此时页面并没有显示自己刚才提交的评论, 在watch 方法中使用 this.$forceUpdate() 强制更新页面,可以实现重新渲染数据 ...
分类:
其他好文 时间:
2021-06-02 13:49:32
阅读次数:
0
IO流 在java程序中,数据的输入、输出操作以“流”的方式进行 数据源:data source 提供原始数据的原始媒介。常见的:数据库、文件、其他程序、内存、网络连接、IO设备。 流的分类: 流的方向: 输入流:数据源到程序(InputStream、Reader读进来) 输出流:程序到目的地(Ou ...
分类:
其他好文 时间:
2021-06-02 13:45:35
阅读次数:
0
19 . 删除链表的倒数第N个结点 给你一个链表,删除链表的倒数第N个结点. class Solution: def removeNthFromEnd(self, head: ListNode, n: int): def getLength(head: ListNode) -> int: lengt ...
分类:
其他好文 时间:
2021-06-02 13:38:44
阅读次数:
0
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:
其他好文 时间:
2021-06-02 13:37:57
阅读次数:
0
#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名和下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", &a[i] ...
分类:
其他好文 时间:
2021-06-02 13:37:21
阅读次数:
0
对于id自动生成的方式,有注解和配置两种。 含义相同:不过设置自动增长的时候必须保证数据库中id是自增,assign_id和assign_uuid则不需要。 yml配置: mybatis-plus: #type-aliases-package: com.monster.demo.entity glo ...
分类:
数据库 时间:
2021-06-02 13:10:19
阅读次数:
0
1、 #include <stdio.h> int str_char(char x[], int key) { int len = 0; while(x[len]) len++; int i; for(i = 0; i < len; i++) { if(x[i] == key) return i; ...
分类:
编程语言 时间:
2021-06-02 12:49:19
阅读次数:
0