一、el-switch 1.element官方文档 active-value switch 打开时的值 boolean / string / number,我的数值是int,设置如下怎么也绑定不成功 <template slot-scope="{row}"> <el-switch class="sw ...
分类:
其他好文 时间:
2020-07-20 23:02:45
阅读次数:
125
Java中常用类和方法(Number&Math) 包装类 在实际开发过程中,我们经常会遇到需要使用对象,而不是内置数据类型的情形。为了解决这个问题,Java 语言为每一个内置数据类型提供了对应的包装类。 基本数据类型 byte short int long float double char boo ...
分类:
编程语言 时间:
2020-07-20 22:37:42
阅读次数:
88
1.varchar转为number,用 to_number(列名):select to_number(t.create_user) from 表名 t;2.number转为varchar,用 to_char(列名):select to_char(t.user_role_id) from 表名 t;3 ...
分类:
数据库 时间:
2020-07-20 17:17:48
阅读次数:
83
Count Complete Tree Nodes Given a complete binary tree, count the number of nodes. Note: Definition of a complete binary tree from Wikipedia: In a com ...
分类:
其他好文 时间:
2020-07-20 15:46:54
阅读次数:
80
以前有写过简单的容器集成,以下是关于s3集成的,主要是测试数据的捕捉以及回放 参考流程 简单说明 gor 与openresty 部署在一起,为了方便基于supervisord 管理,默认已经开启请求捕捉(80端口),同时supervisord集成了管理,可以通过ui操作是否捕捉 对于捕捉的数据存储在 ...
分类:
其他好文 时间:
2020-07-20 13:26:25
阅读次数:
69
水仙花数之C语言经典案例分析
【什么是水仙花数】
? ? ? ?水仙花数(Narcissistic number)也被称为超完全数字不变数(pluperfect digital invariant, PPDI)、自恋数、自幂数、阿姆斯壮数或阿姆斯特朗数(Armstrong number),水仙花数是指一个 3 位数,它的每个位上的数字的 3次幂之和等于它本身(例如:1^3 + 5^3+ 3^3 = 153)。
分类:
编程语言 时间:
2020-07-20 11:07:44
阅读次数:
82
Given a string S, return the number of substrings of length K with no repeated characters. Example 1: Input: S = "havefunonleetcode", K = 5 Output: 6 ...
分类:
其他好文 时间:
2020-07-20 10:52:27
阅读次数:
55
Given a tree (i.e. a connected, undirected graph that has no cycles) consisting of n nodes numbered from 0 to n - 1 and exactly n - 1 edges. The root ...
分类:
其他好文 时间:
2020-07-20 10:50:59
阅读次数:
70
Oracle 一个中文汉字 占用几个字节,要根据Oracle中字符集编码决定 查看oracle server端字符集 select userenv('language') from dual; 如果显示如下,一个汉字占用两个字节 SIMPLIFIED CHINESE_CHINA.ZHS16GBK 如 ...
分类:
数据库 时间:
2020-07-20 10:47:45
阅读次数:
80
1.过滤器 前台通过后台传值,要对后台传过来的变量进行特殊处理,比如根据id转成中文等; 1.1 局部过滤器 局部过滤器只针对一个Vue实例 默认将|左侧count传递给右侧方法 {{count|filterFunc}} 可以传多个参数{{count|filterFunc("test")}} fun ...
分类:
其他好文 时间:
2020-07-20 00:00:53
阅读次数:
88