</template>
<script>
import * as storage from '@/utils/storage.js'
import config from '@/utils/config.js'
export default {
data() {
return {
webviewSrc: ${config.gameHtmlRoot}/game/entry/?token=${storage.getToken() || ''}
}
},
}
</script>
<style>
.webview {
flex: 1;
}
</style>
2***@qq.com (作者)
不正常,hash应该是被解析成路径了,导致访问不到
2025-01-05 20:54
DCloud_UNI_OttoJi
回复 2***@qq.com: 提供一个线上的网址我测试,并提供 vue 和 HBuilderX 依赖版本
2025-01-06 11:06