Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuzhen@situdata.com
/
yunxiao-admin-fe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
aceda2b9
authored
2020-12-04 17:36:26 +0800
by
zhen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:第二次编辑产品失败
1 parent
15233c3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
src/views/iframe.vue
src/views/iframe.vue
View file @
aceda2b
...
...
@@ -47,9 +47,9 @@ export default {
fullscreen=1
`
,
orderInfo
:
{
appUserName
:
'
123
'
,
appUserName
:
'
刘臻
'
,
appUserPhone
:
'16621043587'
,
orderId
:
'
123213
'
,
orderId
:
'
9527
'
,
webUserName
:
'lz'
}
}
...
...
@@ -60,7 +60,7 @@ export default {
methods
:
{
open
()
{
this
.
isStart
=
true
this
.
target
=
`
${
this
.
baseUrl
}
/#/srtc-iframe`
this
.
target
=
`
${
this
.
baseUrl
}
/#/srtc-iframe
?path="https://localhost:8081/"
`
this
.
$nextTick
().
then
(()
=>
{
this
.
$refs
.
srtcIframe
.
onload
=
()
=>
{
this
.
sendMessage
()
...
...
@@ -94,18 +94,20 @@ export default {
if
(
e
.
origin
!==
this
.
baseUrl
)
{
return
}
const
{
type
,
data
}
=
e
// switch (type) {
// case 'userJoin':
// this.popMessage(data)
// break
// case 'appHangUp':
// this.popMessage(data)
// break
// case 'webHangUp':
// this.popMessage(data)
// break
// }
const
{
data
:
{
data
,
type
}
}
=
e
switch
(
type
)
{
case
'appHangUp'
:
this
.
isStart
=
false
break
case
'cancelCallCB'
:
this
.
isStart
=
false
break
case
'webHangUp'
:
this
.
isStart
=
false
break
}
this
.
popMessage
(
`
${
type
}
---
${
data
}
`
)
},
popMessage
(
data
)
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment