函数contentWindow报错

这是源代码,实现保存操作
img
这是前端报错,显示contentWindow为空
img
请问,这是怎么回事

iframe 获取不到吧