@propertySource 指定property的配置源。 创建一个person.property: 然后修改person注解; 在运行test之后,结果为: @importResource 这个importResource是用来兼容spring的。 HelloService: beans.xm ...
分类:
编程语言 时间:
2020-05-17 21:51:52
阅读次数:
63
hive安装包conf/hive-site.xml 增加如下配置: <property> <name>hive.cli.print.header</name> <value>true</value> <description>Whether to print the names of the col ...
分类:
其他好文 时间:
2020-05-17 16:17:36
阅读次数:
97
最近做项目经常在 chrome 的控制台看到如下提示: Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatu ...
分类:
其他好文 时间:
2020-05-17 12:53:52
阅读次数:
53
listbox <ListBox AlternationCount="2" > <ListBox.Resources> <Style TargetType="ListBoxItem"> <Style.Triggers> <Trigger Property="ItemsControl.Alternat ...
In this lesson, we build a little app that fetches dog photos from the dog.ceo API, based on a "breed" search field. We want the API call to happen ag ...
过渡效果(Transition)插件提供了简单的过渡效果。 Transition.js 是 transitionEnd 事件和 CSS 过渡效果模拟器的基本帮助器类。它被其他插件用来检查 CSS 过渡效果支持,并用来获取过渡效果。 使用案例 过渡效果(Transition)插件的使用案例: 具有幻灯 ...
分类:
其他好文 时间:
2020-05-16 14:02:25
阅读次数:
77
举个例子: 我们直接执行了一个 refresh(),这个refresh函数会被执行30次, 这样的话就太过于频繁了,我们就可以将refresh放入防抖函数中去,生成一个新的函数,之后,我们就使用新的函数 这个新生成的函数,并不会非常频繁的调用,如果下一次执行来的非常快,那么会将上一次的取消掉; 上面 ...
分类:
Web程序 时间:
2020-05-16 00:21:31
阅读次数:
66
Vue动画 使用过度类名实现动画 1. 将要使用过度动画的标签用transition包裹 2. 定义两组样式 自定义样式前缀 可以在transition标签中用name来指定对应的样式前缀 这样做的话,在定义动画时也要用my作为前缀 使用第三方类库实现动画 Animate.css 在transiti ...
分类:
其他好文 时间:
2020-05-16 00:13:43
阅读次数:
73
微信小程序Cannot read property 'setData' of undefined问题解决 Krystalcsdn 2020-03-08 23:57:39 300 收藏展开今天写小程序,需要读取窗口高度然后设置scroll-view高度,在this.setData时报错“Cannot ...
分类:
微信 时间:
2020-05-15 22:56:03
阅读次数:
133
旋转圆形图片: .pic:hover{ transform: rotate(360deg); transition: all 1.5s ease ; } .pic{ border-radius: 500px; border: solid #dddfdc; } 鼠标放置完全显示: .ganying:h ...
分类:
Web程序 时间:
2020-05-15 21:50:42
阅读次数:
214