aceda2b9 by zhen

fix:第二次编辑产品失败

1 parent 15233c3c
...@@ -47,9 +47,9 @@ export default { ...@@ -47,9 +47,9 @@ export default {
47 fullscreen=1 47 fullscreen=1
48 `, 48 `,
49 orderInfo: { 49 orderInfo: {
50 appUserName: '123', 50 appUserName: '刘臻',
51 appUserPhone: '16621043587', 51 appUserPhone: '16621043587',
52 orderId: '123213', 52 orderId: '9527',
53 webUserName: 'lz' 53 webUserName: 'lz'
54 } 54 }
55 } 55 }
...@@ -60,7 +60,7 @@ export default { ...@@ -60,7 +60,7 @@ export default {
60 methods: { 60 methods: {
61 open() { 61 open() {
62 this.isStart = true 62 this.isStart = true
63 this.target = `${this.baseUrl}/#/srtc-iframe` 63 this.target = `${this.baseUrl}/#/srtc-iframe?path="https://localhost:8081/"`
64 this.$nextTick().then(() => { 64 this.$nextTick().then(() => {
65 this.$refs.srtcIframe.onload = () => { 65 this.$refs.srtcIframe.onload = () => {
66 this.sendMessage() 66 this.sendMessage()
...@@ -94,18 +94,20 @@ export default { ...@@ -94,18 +94,20 @@ export default {
94 if (e.origin !== this.baseUrl) { 94 if (e.origin !== this.baseUrl) {
95 return 95 return
96 } 96 }
97 const { type, data } = e 97 const {
98 // switch (type) { 98 data: { data, type }
99 // case 'userJoin': 99 } = e
100 // this.popMessage(data) 100 switch (type) {
101 // break 101 case 'appHangUp':
102 // case 'appHangUp': 102 this.isStart = false
103 // this.popMessage(data) 103 break
104 // break 104 case 'cancelCallCB':
105 // case 'webHangUp': 105 this.isStart = false
106 // this.popMessage(data) 106 break
107 // break 107 case 'webHangUp':
108 // } 108 this.isStart = false
109 break
110 }
109 this.popMessage(`${type}---${data}`) 111 this.popMessage(`${type}---${data}`)
110 }, 112 },
111 popMessage(data) { 113 popMessage(data) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!