会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
归档
新随笔
联系
订阅
ZerlinM
新随笔
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
31
下一页
2023年3月3日
Android studio 使用小米手机(Redmi K30 Pro)真机调试
摘要: Android studio 虚拟机调试启动很慢,而且有些应用还必须要用手机调试,还得把apk发到手机上安装,比较麻烦。所以手机通过USB直接连接电脑在线调试,方便快捷。 手边有一部小米的Redmi K30 Pro,MIUI12.5系统,下面记录下设置步骤: 第一步:打开手机USB调试 首先,使用数
阅读全文
posted @ 2023-03-03 12:57 ZerlinM
阅读(3503)
评论(0)
推荐(0)
2023年3月2日
react-native webView网页调试之setWebContentsDebuggingEnabled使用
摘要: Android使用方法 首先,我们需要在应用程序中调用WebView.setWebContentsDebuggingEnabled(true); 文件位置:在MainActivity.java的onCreate方法内(在android / app / src / main / java / com
阅读全文
posted @ 2023-03-02 15:19 ZerlinM
阅读(696)
评论(0)
推荐(0)
2023年2月28日
react-native打包
摘要: RN的打包,大家可以根据官网一步一步来,但这里有几个地方注意,一下简单介绍: 生成一个签名密钥 在项目的目录下打开cmd命令窗口输入一下命令运行: keytool -genkeypair -v -keystore JJSWlcapp-release-key.keystore -alias JJSWl
阅读全文
posted @ 2023-02-28 09:53 ZerlinM
阅读(224)
评论(0)
推荐(0)
2023年2月24日
antd DatePicker设定可选时间范围
摘要: antd中 DatePicker 设定可选时间范围 <Form.Item name="monthStr"> <RangePicker allowClear={false} // picker="month" format="YYYY-MM-DD" // defaultValue={[moment()
阅读全文
posted @ 2023-02-24 15:59 ZerlinM
阅读(648)
评论(0)
推荐(0)
2023年2月23日
js计算树形数据最大层级数
摘要: 已知树形结构数据通过递归方式结合Math.max方法计算出树形结构最大层级数。 const treeData = [ { title: "0-0", key: "0-0", children: [ { title: "0-0-0", key: "0-0-0", children: [ { title
阅读全文
posted @ 2023-02-23 14:48 ZerlinM
阅读(376)
评论(0)
推荐(0)
js 给树形(层级)数组添加层级标识
摘要: 树形数据,需要给每层的数据添加层级,如下: const treeData = [ { id: 1, name: 'a', children: [ { id: 101, name: 'a1', children: null } ] }, { id: 2, name: 'b', children: [
阅读全文
posted @ 2023-02-23 09:51 ZerlinM
阅读(721)
评论(0)
推荐(0)
2023年2月22日
Android studio报错 org.jetbrains.kotlin.android
摘要: 项目中用到kotlin, 在项目中配置好之后,启动项目,打开Android studio时报错如下: 项目中 android - build.gradle 配置如下: buildscript { ext { buildToolsVersion = "29.0.3" minSdkVersion = 2
阅读全文
posted @ 2023-02-22 13:38 ZerlinM
阅读(1129)
评论(0)
推荐(0)
2023年2月16日
Echarts折线图 图例修改为横线
摘要: 实现效果: 重点: 在lengend属性中 data 中设置icon { name: 'Target', icon: 'path://m0.010277,5.945418l24.979446,0l0,2.109164l-24.979446,0l0,-2.109164z' } 代码: option =
阅读全文
posted @ 2023-02-16 10:10 ZerlinM
阅读(2533)
评论(0)
推荐(0)
2023年2月15日
Echarts设置柱状图y轴垂直翻转展示
摘要: y轴垂直翻转 实现效果: 设置 inverse: true 即可,代码如下: option = { xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type:
阅读全文
posted @ 2023-02-15 16:38 ZerlinM
阅读(1461)
评论(0)
推荐(0)
Echarts设置x轴数据全部显示
摘要: 当X轴数据过多时Echarts会默认显示一半 如下图: Echarts加入axisLabel然后将interval设置为0就会将横轴全部显示 xAxis: [{ type: 'category', boundaryGap: 0, axisLine: { show: false, lineStyle:
阅读全文
posted @ 2023-02-15 16:31 ZerlinM
阅读(4198)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
31
下一页
公告