如果需要在html页面上设置不缓存,这在<head>标签中加入如下语句: 1 <meta http-equiv="pragma" content="no-cache"> 2 <meta http-equiv="cache-control" content="no-cache"> 3 <meta ht ...
分类:
其他好文 时间:
2020-03-22 10:54:57
阅读次数:
61
“Error in render: "TypeError: Cannot read property '0' of undefined"”渲染错误问题 搭建项目商家详情头部时,能够完整渲染出整体头部界面无问题,但开发者工具仍然报出“Error in render: "TypeError: Canno ...
分类:
其他好文 时间:
2020-03-22 10:45:24
阅读次数:
394
题目:https://pintia.cn/problem-sets/994805342720868352/problems/994805356599820288 题目比较麻烦,因为限时200ms,所以要用散列。 1 #include<iostream> 2 #include<vector> 3 #i ...
分类:
其他好文 时间:
2020-03-22 10:41:08
阅读次数:
80
idea连接MySQL数据库报时区问题: Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property manually. 解决办法: 登录MySQL,设置时区: set global ...
分类:
数据库 时间:
2020-03-21 23:41:58
阅读次数:
370
hasOwnProperty()方法可以检测对象是否有某个属性 var man = { legs:2, hands:2, heads:1 } man.hasOwnProperty("heads") //true hasOwnProperty()不能检测原型链上的属性 ...
分类:
其他好文 时间:
2020-03-21 21:32:51
阅读次数:
61
第一步:填写配置信息: spring: aop: proxy-target-class: true auto: true datasource: druid: # 数据库 1 db1: url: jdbc:mysql://localhost:3306/db1?useUnicode=true&char ...
分类:
编程语言 时间:
2020-03-21 20:51:53
阅读次数:
90
显示效果 显示效果 css代码如下 1 div{ 2 width: 100px; 3 height: 100px; 4 background-color: blue; 5 transition: width 2s,height 2s,transform 2s; 6 -webkit-transitio ...
分类:
Web程序 时间:
2020-03-21 15:08:54
阅读次数:
75
1.Timer基础1.1Timer简介1.2Timer实战2.Timer的定时调度函数2.1schedule2.1.1 schedule(task,time)2.1.2 schedule(task,time,period)2.1.3 schedule(task,delay)2.1.4 schedul... ...
分类:
其他好文 时间:
2020-03-21 15:07:38
阅读次数:
61
一、简介 使用springboot可以与jdbc、mybatis、spring data等结合进行数据访问 对于数据访问层,无论是SQL好NoSQL,springBoot默认采用整合Spring Data的方式进行统一处理,添加大量自动配置,屏蔽了很多设置。 各种xxxTemplate,xxxRep ...
分类:
编程语言 时间:
2020-03-20 23:47:16
阅读次数:
108
用SoapUI进行接口测试、我们对接口肯定也需要进行验证,要不接口测试都没有意义了。 这样我们就需要对接口添加断言、验证接口返回的数据是否正确或接口返回的数据是不是你想要的。 第一种方法: 1、在接口测试用例左上角点击添加按钮 2、选择Property Content -->Contains 3、点 ...
分类:
其他好文 时间:
2020-03-20 17:08:43
阅读次数:
76