上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 144 下一页
摘要: 小程序 (node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit. 11 小程序内存泄露 有时候可能是音频或者视频播放时候出现的这样的错误。 我这个是播放音频爆的错误。 可能是接口的问题吧 文章来源... 阅读全文
posted @ 2018-06-14 11:25 刘俊涛的博客 阅读(7238) 评论(1) 推荐(0)
摘要: 文字不需要用户复制的时候,就不要加 selectable(文本是否可选) API安全问题,一定要做接口安全验证,防止数据泄露,被别人调用 …. --待续— 欢迎关注,有问题一起学习欢迎留言、评论。 阅读全文
posted @ 2018-06-14 10:46 刘俊涛的博客 阅读(312) 评论(0) 推荐(0)
摘要: JS 字符串转数组: var words =' likely, likely, likely,economic, economic'; //字符串中间已特殊符号隔开 var words = words.split(",");//转成数组类似php的explode函数 JS 字符串去重: function unique (array){ return arr... 阅读全文
posted @ 2018-06-13 14:20 刘俊涛的博客 阅读(17478) 评论(0) 推荐(0)
摘要: voice:function(){ var word = this.data.word; var src = 'https://……/'+word['word']+'.mp3'; console.log(src); this.innerAudioContext.autoplay = true; this.innerAudioContext.obeyMu... 阅读全文
posted @ 2018-06-12 16:03 刘俊涛的博客 阅读(4061) 评论(0) 推荐(0)
摘要: #include<stdio.h> void main() {int a,b,c,d; scanf("%d,%d,%d",&a,&b,&c); d=max(a,b,c); printf("max=%d",d); getch(); /*暂停看运行结果*/ } int max(int x,int y,i 阅读全文
posted @ 2018-06-08 22:18 刘俊涛的博客 阅读(1533) 评论(0) 推荐(0)
摘要: 1 //takePlace里的循环写错了,j循环应该是 2 //for (j=i;j 6 7 int Array[3][3]; 8 void takePlace( ) 9 { 10 int i,j,t; 11 for(i=0;i<3;i++) 12 for(j=i;j<3;j++) 13 { 14 t=Array[i][j]; 15 Array[i... 阅读全文
posted @ 2018-06-08 21:54 刘俊涛的博客 阅读(1847) 评论(0) 推荐(0)
摘要: 微信小程序 定义全局数据、函数复用、模版等 微信小程序定义全局数据、函数复用、模版等问题总结: 1.如何定义全局数据 在app.js的App({})中定义的数据或函数都是全局的,在页面中可以通过var app = getApp(); app.function/key的方式调用,不过我们没有必要再ap 阅读全文
posted @ 2018-06-06 11:44 刘俊涛的博客 阅读(5085) 评论(1) 推荐(0)
摘要: Linux下需要安装VMware Tools工具 Linux下需要安装VMware Tools工具来实现主机和虚拟机直接文件复制粘贴功能,安装方法如下: ①点击虚拟机VM菜单栏--虚拟机--安装VMware Tools。 ②然后RedHat系统中弹出的安装包,找到VMwareTools-9.2.3-1031360.tar.gz 然后右键解压到/media目录下。 ... 阅读全文
posted @ 2018-05-28 14:05 刘俊涛的博客 阅读(3345) 评论(0) 推荐(0)
摘要: style='border-radius:100px;overflow:hidden' 效果: 文章来源:刘俊涛的博客 地址:http://www.cnblogs.com/lovebing 欢迎关注,有问题一起学习欢迎留言、评论。 阅读全文
posted @ 2018-05-28 10:39 刘俊涛的博客 阅读(809) 评论(0) 推荐(0)
摘要: Step1:按快捷键Ctrl+H,打开"查找和替换"对话框; Step2:选择"查找内容"后的文本框,按住Alt键,在数字键盘中输入"0010"。需要注意的是这样输入后,在"查找内容"后的文本框中不会显示任何内容,但实际上是有的; Step3:单击"全部替换"按钮,换行符将被全部替换。 文章来源:刘俊涛的博客 地址:... 阅读全文
posted @ 2018-05-23 16:41 刘俊涛的博客 阅读(9612) 评论(1) 推荐(0)
上一页 1 ··· 96 97 98 99 100 101 102 103 104 ··· 144 下一页