Commit c7b5c59c by huyue

删除控制台打印

1 parent b941c359
......@@ -55,10 +55,10 @@ export default {
mounted() {
// 监听来自 iframe 的消息
window.addEventListener('message', (event) => {
console.log('收到 iframe 消息:', event.data);
// console.log('收到 iframe 消息:', event.data);
if (event.data.type === 'location-change') {
// 监听地址改变
console.log('Iframe 地址已改变:', event.data.url);
// console.log('Iframe 地址已改变:', event.data.url);
// 在这里可以执行其他操作,比如更新 iframe 的 src 属性
this.handleIframeLocationChange(event.data.url);
} else if (event.data.type === 'logout') {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!