2022/7/18

uniapp隐藏左侧返回按钮

var a = document.getElementsByClassName('uni-page-head-hd')[0] a.style.display = 'none';

  • uni-app
  • 2022/7/18
  • helei
  • 1,097
  • 2022/7/15

    vue Vue.config.ignoredElements=[‘wx-open-launch-weapp’]报错组件丢失

    Vue.config.ignoredElements.push('wx-open-launch-weapp')

  • vue
  • 2022/7/15
  • helei
  • 880
  • 2022/7/15

    springboot 下载网络图片导出压缩包

    public ResponseEntity getTaizhangZip() throws IOException {         SimpleDateFormat simpleDateFormat = new Simpl…

  • springboot vue
  • 2022/7/15
  • helei
  • 956
  • 2022/7/15

    vue全局方法

    方法一:使用Vue.prototype //在mian.js中写入函数 Vue.prototype.getToken = function (){   ... } //在所有组件里可调用函数 this.getToken(); 方法二:使用exports.install+Vue.protot…

  • vue
  • 2022/7/15
  • helei
  • 1,123
  • 2022/7/13

    java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).

    在使用LIKE关键字模糊查找的时候,参数需要使用LIKE '${name}'而不能使用#{name}, ${name}'和#{name}区别: #{name}解析后会产生一个单号,和JDBC里面的PreparedStatement的用法啊一样,向上面这种用…

  • java mybatis-plus springboot
  • 2022/7/13
  • helei
  • 877
  • 2022/7/11

    springboot 获取ip

    String ip = request.getHeader("x-forwarded-for");         if (ip == null || ip.length() == 0&nbs…

  • springboot
  • 2022/7/11
  • helei
  • 1,021
  • 2022/7/6

    js/vue-forms根据第二代身份证编码规则验证身份证是否合法

    编码规则参考第二代身份证号码编排规则-百度经验 (baidu.com) function(rule, value, data, callback){     var card = value     var&n…

  • JavaScript
  • 2022/7/6
  • helei
  • 978