<input type="number" style="width:310px;height:35px;" onkeyup="clearNoNum(this)" id="adjustedAmountInput" step="500" placeholder="+500/-500"/> functio ...
分类:
其他好文 时间:
2020-12-16 11:47:12
阅读次数:
2
1 <FormItem 2 className={style.client} 3 name="client" 4 rules={[{ required: false }]} 5 label={ 6 <div className={style.label}> 7 <span>label</span>{ ...
分类:
其他好文 时间:
2020-12-16 11:42:08
阅读次数:
3
const { Button } = antd; const { PoweroffOutlined } = icons; class App extends React.Component { state = { loadings: [], }; enterLoading = index => { ...
分类:
其他好文 时间:
2020-12-16 11:37:45
阅读次数:
3
1 注意下面这样用空接口的时候,类型无法传递 package main import "fmt" func main() { a := [][]string{{"a","b","c"}} fmt.Println(a) test1(a) // interface{}可以接受任意类型,但这里不能这样传递 ...
分类:
其他好文 时间:
2020-12-15 12:57:07
阅读次数:
9
Description 大家都学过了代码优化,其中有一个DAG优化,这次我们就练习这个操作。 Input 输入第一行为一个整数n(n < 100),表示该组输入的表达式的个数 之后n行为表达式,每个变量为一个字母,表达式仅包括二元运算 + - * / 例如:A=B+C Output 通过构造DAG图 ...
分类:
其他好文 时间:
2020-12-15 12:38:28
阅读次数:
3
#include<stdio.h> long long fac( int n ); int main() { int i,n; printf("Enter n:"); scanf("%d",&n); for( i=1;i<=n;++i ) { printf("%d!=%11d\n",i,fac(i) ...
分类:
其他好文 时间:
2020-12-15 12:30:56
阅读次数:
3
概念:通过修改其他函数的功能,有助于让代码更简短 原则:已经实现了的功能代码,尽量不修改,对现有的代码进行扩展修改 例1: def f():#假设一个函数f() return "helloworld" #这是默认返回值 print(f()) #调用f()函数并打印。 f1=f #将函数赋值给一个变量 ...
分类:
其他好文 时间:
2020-12-15 12:26:11
阅读次数:
2
4 HTML案例-头条页面 4.1 案例效果 4.2 案例分析 4.2.1 div布局的进阶 想要将div布局成案例效果,首先需要对多个div进行区分,再分别设置每一个div自身的效果。 1)div的class值 首先编写三个div,设置边框样式 <style> div{ border: 1px s ...
分类:
Web程序 时间:
2020-12-15 12:23:37
阅读次数:
4
#region 定时器 //1 分钟 =60000 毫秒 1 时(小时)= 3600000 毫秒 1 天=86400000 毫秒 System.Timers.Timer myTimer = new System.Timers.Timer(60000); myTimer.Elapsed += new ...
1、首先输入 npm get registry 查看当前镜像源,默认为 https://registry.npmjs.org/(npm默认镜像源) 2,修改镜像源 npm config set registry xxx(镜像源地址) 国内一般使用淘宝镜像源 npm config set regist ...
分类:
Web程序 时间:
2020-12-15 11:45:50
阅读次数:
5