1, 调用本地邮箱
<a target="_blank" href="mailto:hr@aelf.io" rel="noreferrer"> 调用本地邮箱</a>
- egg.js
- isMoble
TS:
theme[localStorage.getItem(‘tradingViewTheme’) ?? ‘white’]
报错:
Returns the current value associated with the given key, or null if the given key does not exist in the list associated with the object.
5、js 实现全屏 function fullScreenhandle() {
const el = document.getElementById(‘tv_chart_container’);
const rfs = el?.requestFullscreen;
if (typeof rfs != ‘undefined’ && rfs) {
rfs.call(el);
}
return;
}
function exitScreen() {
if (document.exitFullscreen) {
document.exitFullscreen();
}
}
6\ Intl.DateTimeFormat().resolvedOptions().timeZone 获取本地时区地址