开发者社区 问答 正文

宜搭页面复制问题

按照https://docs.aliwork.com/docs/yida_support/_4/phcp0u 链接关于“跨应用复制页面”里告知的流程,在Chrome和edge浏览器里打开需要复制的一个表单编辑页面,按 F12 打开控制台,切换至 console 模块,输入样式修改代码

// 样式修改
document.querySelector('.lc-left-area-bottom div:last-child').style.display = 'block'

敲击回车键。

但是提示如下bug报错,请问应该怎么解决

VM91:2 Uncaught TypeError: Cannot read properties of null (reading 'style')
at :2:62
(匿名) @ VM91:2

111.png

展开
收起
游客kg6mdwhelmswe 2024-03-30 11:09:56 688 分享 版权
来自: 钉钉宜搭
2 条回答
写回答
取消 提交回答
问答分类:
问答标签:
问答地址:
关联地址: