<template>
<view>
<web-view :src=webViewUrl></web-view>
</view>
</template>
webViewUrl.value = "http://localhost:5173/#/excel?data=" + encodeURIComponent(JSON.stringify({
id: option?.id,
token: currentUser.value?.token
}))
console.log(webViewUrl.value);
h5 啥都接收不到
let params = JSON.parse(decodeURIComponent(window.location.href.split("?data=")[1]))
data.value = params
console.log(data.value);
你好,开发者工具Debug下看有没有报错