技术教程 - 梦幻书涯 - 莫問前路遙遠- 與君風雪
X  
登录

还没有账号? 立即注册

忘记密码?
登陆
X  
注册

已经有账号? 马上登陆

获取验证码
重新获取(60s)
立即注册
统计
  • 建站日期:22-09:01
  • 文章总数:75 篇
  • 评论总数:2 条
  • 分类总数:8 个
  • 最后更新:2023年08月09日
导航首页 » 搭建教学
每日随机一文

不跨域情况: const getParentUrlInIfram = () => {   if(window.parent !== window.self) { //判断是否存在iframe       window.top.location.href = '/' // 只有一层iframe时有效       // 或       window.parent.location.href = '/'   }} 跨域情况,无解。只能间接的修改子页面URL模拟修改父页面URL const getParentUrlInIfram = () => {   if(window.parent !== window.self) { //判断是否存在iframe       window.top.location.href = '//localhost:8080/' // 只有一层iframe时有效       // 或       window.parent.location.href = '//localhost:8080/'   }} 另外,跨域时可获取父页面URL const getParentUrlInIfram = () => {   if(window.parent !== window.self) { //判断是否存在iframe       return document.referrer   }} fdisk -l ​df -h 查看硬盘挂载情况​mkfs.ext4 /dev/vdb 格式化未挂载硬盘 只有格式化才能挂载​mkdir /data1​mount /dev/vdb /data1//重启自动挂载echo '/dev/vdb /data1 ext4 defaults 0 0'>> /etc/fstab​cat /etc/fstab...

HI ! 请登录
注册会员,享受下载全站资源特权。
登陆 注册
永远的少年,永远的梦

    热门文章


    javascript:;