继承、重写和 Super class Lady { content = "Hi,帅哥"; sayHello() { return this.content; } } class XiaoJieJie extends Lady { sayHello() { return super.sayHello( ...
分类:
其他好文 时间:
2021-01-12 11:03:38
阅读次数:
0
最近才复习axios的时候,看到axios.all和axios.spread,感到既熟悉又陌生.因为很多时候,我们可能需要同时调用多个后台接口,就会高并发的问题,所以在这里让我好好复习一下. axios.all和axios.spread axios.all()、axios.spread()两个辅助函 ...
分类:
移动开发 时间:
2021-01-12 10:51:39
阅读次数:
0
el-tree是elementui提供的一个树组件 里面的坑其实还是很多的 比如:1 设置节点高亮,必须加一个延时 2.添加节点,必须使用$set 3.数据的格式化 4.父级id的设置 ........... <template> <div class="departmentManage" styl ...
分类:
其他好文 时间:
2021-01-11 11:12:04
阅读次数:
0
##先说结论 GreenDao的主键,如果要是用自增的话,必须将主键字段定义成简单类型的包装类型,即Integer、Long。 ##再探原因 GreenDao对数据表实体(这里假设为Student)生成StudentDao类时,该类会继承自AbstractDao并实现几个重要的虚方法,主要的CRUD ...
分类:
其他好文 时间:
2021-01-07 12:28:53
阅读次数:
0
lamp简介 所谓lamp,其实就是由Linux+Apache+Mysql/MariaDB+Php/Perl/Python的一组动态网站或者服务器的开源软件,除Linux外其它各部件本身都是各自独立的程序,但是因为经常被放在一起使用,拥有了越来越高的兼容度,共同组成了一个强大的Web应用程序平台。 ...
分类:
其他好文 时间:
2021-01-06 12:26:46
阅读次数:
0
python3 [root@vm10-20-9-45 ~]# python3 -m http.server 2378 Serving HTTP on 0.0.0.0 port 2378 (http://0.0.0.0:2378/) ... 100.81.171.16 - - [03/Jan/2021 ...
分类:
编程语言 时间:
2021-01-06 12:24:12
阅读次数:
0
工作流程 Django 自带的开发服务器性能太差,用到线上环境不合适。所以线上部署时,我们还要安装 Nginx 和 Gunicorn,工作流程如下: 客户端发来 http 请求,Nginx 作为直接对外的服务器接口,对 http 请求进行分析 如果是静态资源请求,则由Nginx自己处理(效率极高) ...
分类:
其他好文 时间:
2021-01-06 12:01:33
阅读次数:
0
Chapter 2 - Data Preparation Basics Segment 3 - Removing duplicates import numpy as np import pandas as pd from pandas import Series, DataFrame Removi ...
分类:
编程语言 时间:
2021-01-05 11:38:29
阅读次数:
0
package LeetCode_212 /** * 212. Word Search II * https://leetcode.com/problems/word-search-ii/ * Given an m x n board of characters and a list of stri ...
分类:
其他好文 时间:
2021-01-05 11:21:11
阅读次数:
0
The Atomic Reference Counter (Arc) type is a smart pointer that lets you share immutable data across threads in a thread-safe way. I couldn’t find any ...
分类:
其他好文 时间:
2021-01-01 12:32:52
阅读次数:
0