This commit is contained in:
chenxf 2026-01-04 10:21:03 +08:00
parent 67c59672b7
commit fd051ebe7c
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ export default {
methods: {
iframeMessage(event) {
const { data } = event
if (typeof data === 'string') {
if (typeof data === 'string' && !data.startsWith('webpack')) {
// data
this.src = ''
setTimeout(() => {

View File

@ -34,7 +34,7 @@ export default {
methods: {
iframeMessage(event) {
const { data } = event
if (typeof data === 'string') {
if (typeof data === 'string' && !data.startsWith('webpack')) {
// data
this.src = data
console.log('子系统传来的' + data)

View File

@ -36,7 +36,7 @@ export default {
methods: {
iframeMessage(event) {
const { data } = event
if (typeof data === 'string') {
if (typeof data === 'string' && !data.startsWith('webpack')) {
// data
this.src = data
console.log('子系统传来的' + data)