<!doctype html> 在iframe里面调用vue的方法 vue中 let self = this; window["goBack"] = () => { self.goBack(); }; iframe中 xxxxxxxxxx if(document.radyState == 'complete') { window.parent['goBack'](); } 转载于:https://www.cnblogs.com/doubino/p/10622669.html