会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
fdbnf
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
8
下一页
2022年1月4日
vue,如何每次访问同样路由都可以刷新
摘要: 利用v-if控制: <router-view v-if="isRouterAlive"></router-view> data() { return { isRouterAlive: true } }, methods:{ reload () { this.isRouterAlive = false
阅读全文
posted @ 2022-01-04 22:22 fdbnf
阅读(389)
评论(0)
推荐(0)
2019年9月2日
layer探框
摘要: layui.use("layer",function(){ var layer=layui.layer; layer.open({ title:" ",//标题 type:1, area:["80%px","80%px"],//探框宽高 content:"",//内容 btn:["确定","取消"]
阅读全文
posted @ 2019-09-02 15:31 fdbnf
阅读(140)
评论(0)
推荐(0)
2019年8月7日
解决layui表格和下拉框同时使用时,下拉框被表格遮当问题
摘要: css样式 加上: .layui-form-select dl{ z-index:9999; } .layui-table-cell{ overflow:visible; } .layui-table-box{ overflow:visible; } .layui-table-body{ overf
阅读全文
posted @ 2019-08-07 14:26 fdbnf
阅读(6681)
评论(1)
推荐(0)
layui switch开关按钮
摘要: <input type="checkbox" name="switch" id="" lay-skin="switch" lay-filter="sfzs" lay-text="是|否"> 属性:checked ——默认开启 监听: form.on('switch(sfzs)',function(d
阅读全文
posted @ 2019-08-07 14:20 fdbnf
阅读(10715)
评论(0)
推荐(0)
2019年8月4日
formSelects 4.x多选下拉框
摘要: 需先引入: formSelects-v4.css formSelects-v4.js 插件下载地址:https://fly.layui.com/extend/formSelects 使用: <div class="layui-form"> <div class="layui-input-inline
阅读全文
posted @ 2019-08-04 23:26 fdbnf
阅读(3065)
评论(0)
推荐(0)
2019年7月8日
java如何调用php接口,并获取值
摘要: URL url = new URL("php接口路径"); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setConnectTimeout(10000); conn.setRequestMethod(
阅读全文
posted @ 2019-07-08 17:29 fdbnf
阅读(3058)
评论(0)
推荐(0)
layui时间范围选择器
摘要: layui.use('laydate',function(){ var laydayte=layui.laydate; laydate.render({ elem:'#id', range:true, //控件选择完毕后的回调 done:function(value,date,endDate){ /
阅读全文
posted @ 2019-07-08 16:23 fdbnf
阅读(3055)
评论(0)
推荐(0)
2019年7月2日
spring boot接收文件
摘要: public String daoru(@RequestParam("file") MultipartFile file){ //判断文件不为空 if(file.isEmpty()){ //获取文件名 String fileName=file.getOriginalFilename(); //获取文
阅读全文
posted @ 2019-07-02 11:35 fdbnf
阅读(1025)
评论(0)
推荐(0)
2019年6月27日
如何读取xlsx表格内容
摘要: 需要jar包: dom4j-2.1.1jar commons-io-2.6.jar poi-4.0.0.jar poi-ooxml-4.0.0.jar poi-ooxml-schemas-4.0.0.jar poi-scratchpad-3.9.jar xmlbeans-3.0.1.jar Cesh
阅读全文
posted @ 2019-06-27 21:25 fdbnf
阅读(472)
评论(0)
推荐(0)
2019年6月20日
js函数
摘要: //随机数生成器Math.random()装换为整数parseInt()日期时间函数(需要用变量调用):var b = new Date(); //获取当前时间b.getTime() //获取时间戳b.getFullYear() //获取年份b.getMonth()+1; //获取月份b.getDa
阅读全文
posted @ 2019-06-20 23:08 fdbnf
阅读(231)
评论(0)
推荐(0)
1
2
3
4
5
···
8
下一页
公告