获得徽章 0
- 大佬!大佬!获取微信个人信息的时候,如果昵称有表情符号,保存到数据库就报下面错误。表的编码也改成了utf8mb4_unicode_ci,还是不行
Incorrect string value: '\xF0\x9F\x98\x84\xF0\x9F...' for column 'nick_name'展开133 - --问一下有java开发经验的大佬们,你们知道控制台会怎样输出吗??????
public static void main(String[] args) {
System.out.println(test());
}
public static String test(){
try {
return "cc";
}catch (Exception e){
}finally {
System.out.println("finally");
}
return "test";
}展开166 - // 获取你的 div 元素
var yourDiv = document.getElementById('toc-box');
// 获取元素的位置信息
var rect = yourDiv.getBoundingClientRect();
console.log(rect)
// 计算距离
var distanceToTop = rect.top;
console.log("距离顶部的距离是:" + distanceToTop + " 像素");展开11
![[不失礼貌的微笑]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_16.9d17f6d.png)
![[流泪]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_6.dde0d83.png)
![[无辜呆]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_96.4fb9d71.png)