上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 66 下一页
摘要: 1.在app/Common/下新建一个文件common.php,当然这个文件位置和名称你可以自己定义然后你可以在这个文件内创建一些函数用于全局调用: <?php /* * 自定义公共函数 */ function test(){ echo "test"; } 2.修改根目录下composer.json 阅读全文
posted @ 2022-03-23 14:51 温柔的风 阅读(191) 评论(0) 推荐(0) 编辑
摘要: gitlab集成度很高,能够集成绝大多数的开发工具支持内置HA,保证高并发下仍旧实现高可用性,无论gitlab服务宕机或者异常导致网络中断,仍然保证24小时不间断使用服务,无序搭建第三方高可用服务,打开内置HA工具使用它即可。 GitLab主要服务构成1、nginx静态web服务器作为gitlab的 阅读全文
posted @ 2022-02-26 23:17 温柔的风 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 子组件 <template> <view class="hb-comment"> testcontent </view> </template> <script> export default { name: 'question-comment’, //名字 data() { return { } 阅读全文
posted @ 2022-02-05 12:28 温柔的风 阅读(911) 评论(0) 推荐(0) 编辑
摘要: 一、rpx转px // 100 为 100rpx的值 var px = uni.upx2px(100); 二、px转rpx // 200 为 px 的值,后面的两个 100 为计算比例使用 var rpx = 200/(uni.upx2px(100)/100); // 验证上面rpx的值 var p 阅读全文
posted @ 2022-01-17 17:52 温柔的风 阅读(3038) 评论(0) 推荐(1) 编辑
摘要: 一、改导航文字 uni.setNavigationBarTitle({ title: 'xx' }); 二、改tabbar文字 uni.setTabBarItem({ index: 0, text: 'xx' }); 阅读全文
posted @ 2022-01-11 21:36 温柔的风 阅读(490) 评论(0) 推荐(0) 编辑
摘要: 一、标签跳转 官方链接:https://uniapp.dcloud.io/component/navigator <navigator url="navigate/navigate?title=navigate" hover-class="navigator-hover"> <button type 阅读全文
posted @ 2022-01-06 22:05 温柔的风 阅读(4444) 评论(0) 推荐(0) 编辑
摘要: 字符串转数组 let string = "12345,56789" string.split(',') // ['12345','56789'] 数组转字符串 let array = ["123","456"] array.join(",") // "'123','456'" 数组元素删除 let 阅读全文
posted @ 2021-12-26 21:49 温柔的风 阅读(4273) 评论(0) 推荐(0) 编辑
摘要: 报错 Access to XMLHttpRequest at 'http://www.localtest.com/api/api/v1/job/getPositionList' from origin 'http://localhost:8080' has been blocked by CORS 阅读全文
posted @ 2021-12-26 16:02 温柔的风 阅读(435) 评论(0) 推荐(0) 编辑
摘要: 图例 <view class="pt10 flex alcenter"> <view class="ft16 ftw500 text-info">手机号</view> <input class="ml40" maxlength="11" :value="phone" type="text" plac 阅读全文
posted @ 2021-12-17 14:41 温柔的风 阅读(3718) 评论(0) 推荐(0) 编辑
摘要: redis单线程又加入了多线程 redis 发展史 redis 2.6 (2012年10月支持lua脚本)redis 3.0 (2015年4月官方集群方案)redis 4.0 (2017年7月混合持久化、多线程异步删除)redis 5.0 (2018年10月核心代码重构)redis 6.0 (202 阅读全文
posted @ 2021-11-12 14:49 温柔的风 阅读(153) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 66 下一页