上一页 1 2 3 4 5 6 ··· 19 下一页
摘要: 如上图所示,测试了两款华为荣耀手机,使用之前Uni-app连接蓝牙的代码,总是会报超时,能发现蓝牙信号,但是连接不上,代码如下, findBluetooth(mac) { var ths = this; this.showDebugInfo("要匹配的mac:" + mac) //3. 监听附近的蓝 阅读全文
posted @ 2023-09-18 11:44 伟衙内 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 前同事问了我一个双边快排的算法,他问我怎么都无法正常排序,代码如下, public static void main(String[] args) { int[] arr = new int[]{7,3,6,4,8,9,0,22,28,2,3,79,24}; arr = new int[]{4,4, 阅读全文
posted @ 2023-09-15 10:11 伟衙内 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 图片切割 切割后如下图所示, 瓦片调色板 如下图所示,建立好对应的目录后,在Project面板下,右击Create -> 2D -> Tile Palette -> Rectangular中新建一个矩形调色板,命名为forest1保存在Palettes下,然后在顶部工具栏找到Window-> 2D 阅读全文
posted @ 2023-09-04 14:13 伟衙内 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 基本信息 创建了项目名有YoyoProject工程,是一个3D模板的工程,使用的是unity 2021版本,windows11系统。 打包 打包路径 string dataPath = Application.dataPath; string persistentDataPath = Applica 阅读全文
posted @ 2023-09-04 11:52 伟衙内 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 泛型单例 /** * 泛型单例模板 where 限制这个单例类必须要能被new出来 */ public class Singleton<T> : IDisposable where T : new() { private static T instance; public static T Inst 阅读全文
posted @ 2023-09-04 11:30 伟衙内 阅读(44) 评论(0) 推荐(0) 编辑
摘要: Word转PDF 引入jar包 <!-- poi --> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>${poi.version}</version> </dependenc 阅读全文
posted @ 2023-08-22 16:30 伟衙内 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 后期持续更新。。。。。。 不然每次都要去文档里面找半天,记录一些常用的,节省下时间。 饼图 标签展示在内部 series: [ { label:{ show:true, position:'inner', //inside , top formatter:'{d}%' //标签展示在内部 }, }, 阅读全文
posted @ 2023-08-04 17:28 伟衙内 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 参考博客: https://dandelioncloud.cn/article/details/1609872435337969666 https://blog.csdn.net/endianzhijia/article/details/87883346 <template> <view> <web 阅读全文
posted @ 2023-07-12 16:55 伟衙内 阅读(801) 评论(0) 推荐(0) 编辑
摘要: 参考博客: https://blog.csdn.net/fgangen/article/details/103235401 如下图所示,左上角中文乱码,环境是centos7,在https://www.cnblogs.com/weiyanei/p/17167686.html中介绍了后台生成echart 阅读全文
posted @ 2023-07-11 18:26 伟衙内 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 如下图所示,一个小程序跳转到另一个小程序, 在要跳转到ATS中登录小程序后端,获取到小程序的APPID,这个APPId要配置到uni-app的manifest.json中配置下, /* 小程序特有相关 */ "mp-weixin" : { "appid" : "本小程序的APPID", "setti 阅读全文
posted @ 2023-05-29 11:16 伟衙内 阅读(1063) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 19 下一页