上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 54 下一页
摘要: 转: fastjson教程 List转JSONArray以及JSONArray转List 1.fastjson List转JSONArrayList<T> list = new ArrayList<T>();JSONArray array= JSONArray.parseArray(JSON.toJ 阅读全文
posted @ 2022-07-27 17:56 BBS_自律 阅读(464) 评论(0) 推荐(0)
摘要: 转:vue项目设置和动态修改页面标题title 设置: 1、在项目的public文件下的index.html中的< title > 标签设置 2、在main.js中设置 Vue.directive('title', { inserted: function (el, binding) { docum 阅读全文
posted @ 2022-07-27 15:20 BBS_自律 阅读(3211) 评论(0) 推荐(0)
摘要: Vue中html全屏背景色(height:100%不能生效时) 1、把百分比符号换成“vh”(推荐) .leaderboard{ background-color: #272A7E; height: 100vh; } 阅读全文
posted @ 2022-07-27 11:27 BBS_自律 阅读(415) 评论(0) 推荐(0)
摘要: javascript判断字符是否为空的方法:首先判断字符是否为空,代码为【if(typeof res== "undefined" || res== null || res== "")】; 代码: //判断字符是否为空的方法 IsEmpty(res){ if(typeof res== "undefin 阅读全文
posted @ 2022-07-27 09:46 BBS_自律 阅读(2534) 评论(0) 推荐(0)
摘要: 1.正则: 例子:https://www.baidu.com/?tn=78040160_5_pg&ch=8 function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参 阅读全文
posted @ 2022-07-27 09:29 BBS_自律 阅读(1467) 评论(0) 推荐(0)
摘要: 加上 --save 参数会自动添加依赖到 package.json 中去,然后我们就可以看见依赖已导入,并且愉快的使用啦(掠过) 参考: 若依项目学习笔记16——前端手册 阅读全文
posted @ 2022-07-27 09:19 BBS_自律 阅读(680) 评论(0) 推荐(0)
摘要: 1.生命周期 : 不严谨的说是,vue实例从创建到销毁中间一系列的过程。 2.二者都是处在vue声明周期的过程中,不同点是: create()方法是,模板渲染成html之前调用,通常用于初始化某些属性值,然后在渲染成视图,所有这个时候是拿不到html中的dom节点。 mounted( )方法是,模板 阅读全文
posted @ 2022-07-27 09:11 BBS_自律 阅读(983) 评论(0) 推荐(0)
摘要: 转 :若依前后端分离,页面跳转路由不用登录 页面title { path: '/scoringChannel', component: () => import('@/views/mobile/scoringChannel'), hidden: true, meta: { title: '评分通道' 阅读全文
posted @ 2022-07-26 14:30 BBS_自律 阅读(828) 评论(0) 推荐(0)
摘要: 1.如何实现并列排名呢? 1 ,2,2,3 这样的? 思路: 排序肯定还是要排的, 按照Java成绩来进行排练. 然后排名的时候,进行比较. 如果这一名的成绩和上一名的相同, 那么名次相同, 如果比上一名分数低,那么排名加一. 2.如何通过中文名首字母排序你?,mysql 中 实现 或者java代码 阅读全文
posted @ 2022-07-26 09:36 BBS_自律 阅读(355) 评论(0) 推荐(0)
摘要: 转:Linux下卸载nginx的详细步骤,亲测有效 1.检查nginx服务是否运行,如果正在运行则关闭服务。 ps -ef|grep nginx /usr/local/nginx/sbin/nginx -s stop 2.查找并删除nginx相关文件。 whereis nginx find / -n 阅读全文
posted @ 2022-07-25 11:19 BBS_自律 阅读(481) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 54 下一页