jeecgboot示例程序

51 篇文章 26 订阅
47 篇文章 0 订阅

后端

uniapp文件上传代码-jeecgboot接收文件上传并返回上传文件的地址代码(本地版)【伸手党福利】

https://blog.csdn.net/wwppp987/article/details/123470369

jeecgboot定时任务示例(解决springboot和jeecgboot框架定时任务突然无效问题)【伸手党福利】

https://blog.csdn.net/wwppp987/article/details/123175635
另:springboot中Scheduled不执行的原因
https://blog.csdn.net/wwppp987/article/details/123176167

jeecgboot 关闭swagger

https://blog.csdn.net/wwppp987/article/details/123714630

jeecgboot标准化改造记录

https://blog.csdn.net/wwppp987/article/details/122902125

前端

判断浏览器

//判断是否IE<11浏览器
export function isIE() {
  return navigator.userAgent.indexOf('compatible') > -1 && navigator.userAgent.indexOf('MSIE') > -1

}

export function isIE11() {
  return navigator.userAgent.indexOf('Trident') > -1 && navigator.userAgent.indexOf('rv:11.0') > -1
}

//判断是否IE的Edge浏览器
export function isEdge() {
  return navigator.userAgent.indexOf('Edge') > -1 && !isIE()
}

export function getIEVersion() {
  let userAgent = navigator.userAgent //取得浏览器的userAgent字符串
  let isIE = isIE()
  let isIE11 = isIE11()
  let isEdge = isEdge()

  if (isIE) {
    let reIE = new RegExp('MSIE (\\d+\\.\\d+);')
    reIE.test(userAgent)
    let fIEVersion = parseFloat(RegExp['$1'])
    if (fIEVersion === 7 || fIEVersion === 8 || fIEVersion === 9 || fIEVersion === 10) {
      return fIEVersion
    } else {
      return 6//IE版本<7
    }
  } else if (isEdge) {
    return 'edge'
  } else if (isIE11) {
    return 11
  } else {
    return -1
  }
}

手机端

移动应用开发要点 进阶

https://blog.csdn.net/wwppp987/article/details/121146618

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值