|
@@ -154,7 +154,9 @@ const beginGame = () => {
|
|
|
if (props.gameInfo.code?.indexOf('Cocos-') !== -1 || props.gameInfo.typeId === '7') {
|
|
|
cocosType.value =
|
|
|
props.gameInfo.code?.indexOf('Cocos-') !== -1 ? <string>props.gameInfo.code?.split('-')[1] : props.gameInfo.code
|
|
|
- cocosUrl.value = `${window.location.origin}/cocos/${cocosType.value}/?userID=${userStore.user.id}&planID=${tempPlanId}`
|
|
|
+ cocosUrl.value = `${window.location.origin}/${props.gameInfo.code?.indexOf('Cocos-') !== -1 ? 'cocos' : 'jquery'}/${cocosType.value}/?userID=${userStore.user.id}&planID=${tempPlanId}`
|
|
|
+ console.log(cocosUrl.value)
|
|
|
+ debugger
|
|
|
VoiceImpRef.value.pauseIntro()
|
|
|
gameFlag.value.CocosDialog = true
|
|
|
} else {
|