Commit 234b1e4a authored by 王炽's avatar 王炽

Merge branch 'dev' of http://gitlab.dui88.com/fh/20250528_FHQ1 into dev

parents dce27b8c 58ad0d86
<template>
<view class="webview-container">
<!-- Webview内容 -->
<web-view :src="webviewUrl" @message="getMessage" class="webview-content"></web-view>
<web-view :src="webviewUrl" :key="webviewUrl" @message="getMessage"
class="webview-content"></web-view>
</view>
</template>
......@@ -201,10 +202,10 @@ const initWebviewUrl = async () => {
// 监听注册状态变化,初始化 webview URL
watch(() => registered.value, (newVal, oldVal) => {
if (!pageOptions.value.needLogin || newVal) {
webviewUrl.value = ''
if (newVal) {
nextTick(() => {
initWebviewUrl()
initWebviewUrl()
})
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment