二期:打包IM
This commit is contained in:
parent
d4982d47c7
commit
0ea628d174
|
@ -135,6 +135,11 @@ async function createLinkWin(data) {
|
||||||
.then(() => {})
|
.then(() => {})
|
||||||
.catch((error) => {})
|
.catch((error) => {})
|
||||||
data.fullPath = data.fullPath.replaceAll('//', '/')
|
data.fullPath = data.fullPath.replaceAll('//', '/')
|
||||||
|
if (data.fullPath.indexOf('?') !== -1) {
|
||||||
|
data.fullPath += '&urlSource=smarttalk'
|
||||||
|
}else {
|
||||||
|
data.fullPath += '?urlSource=smarttalk'
|
||||||
|
}
|
||||||
linkWin[data.key].loadURL(data.fullPath)
|
linkWin[data.key].loadURL(data.fullPath)
|
||||||
|
|
||||||
linkWin[data.key].once('ready-to-show', () => {
|
linkWin[data.key].once('ready-to-show', () => {
|
||||||
|
|
Loading…
Reference in New Issue