上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 90 下一页
摘要: https://uniapp.dcloud.net.cn/collocation/pages.html#subpackages 1、因小程序有体积和资源加载限制,各家小程序平台提供了分包方式,优化小程序的下载和启动速度。 2、主包:即放置默认启动页面/TabBar 页面,以及一些所有分包都需用到公共 阅读全文
posted @ 2022-06-28 20:41 Running00 阅读(460) 评论(0) 推荐(0)
摘要: https://smartprogram.baidu.com/docs/develop/framework/performance-tips/ 阅读全文
posted @ 2022-06-27 21:08 Running00 阅读(13) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/WANG944282/article/details/124260397 https://www.cnblogs.com/flamingoDream/p/15392564.html 阅读全文
posted @ 2022-06-27 11:11 Running00 阅读(11) 评论(0) 推荐(0)
摘要: 小程序canvas <canvas style="width: 300px; height: 200px" canvas-id="canvas" id="canvas"></canvas> createCanvasContext: 创建 canvas 绘图上下文 const ctx = uni.cr 阅读全文
posted @ 2022-06-24 20:31 Running00 阅读(238) 评论(0) 推荐(0)
摘要: https://www.acunetix.com/blog/articles/finding-source-dom-based-xss-vulnerability-acunetix-wvs/ 阅读全文
posted @ 2022-06-21 14:16 Running00 阅读(11) 评论(0) 推荐(0)
摘要: uniapp编译报错Module build failed (from ./node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js): ifdef 和 endif不匹配导致的 阅读全文
posted @ 2022-06-14 11:19 Running00 阅读(76) 评论(0) 推荐(0)
摘要: assetBundle 资源包 将资源放入资源包,ab包 资源包的划分 ,文件夹 属性 选中 从资源包中加载、释放资源 根据名字加载资源包 assetManage 全局单例, 类型 assetManage ,异步加载 assetManage.loadBundle("A", (err, ab: Ass 阅读全文
posted @ 2022-06-12 21:46 Running00 阅读(293) 评论(0) 推荐(0)
摘要: 定时器是component(组件实例)方法,节点被隐藏和删除,定时器不会执行 schedule(() ⇒ { }, 2, 3, 5) 时间间隔 2s(每2s调用一次) ,一共调用 4次,5s之后启动定时器 scheduleOnce(() ⇒ { }, 5) 5s之后执行一次 this.unseche 阅读全文
posted @ 2022-06-12 21:28 Running00 阅读(772) 评论(0) 推荐(0)
摘要: https://bycw.360dhf.cn/ 阅读全文
posted @ 2022-06-12 21:03 Running00 阅读(30) 评论(0) 推荐(0)
摘要: playonawake 加载时候播放 loop 循环播放 volume 声音大小 audiosource 组件 本地存储 游戏信息 localStorage setItem('zhangsan', 20 ) getItem('zhangsan' ) removeItem('zhangsan') 阅读全文
posted @ 2022-06-12 21:03 Running00 阅读(87) 评论(0) 推荐(0)
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 90 下一页