提交 750b6cd5 编写于 作者: Q qiang

Merge branch 'dev' into alpha

...@@ -60,7 +60,7 @@ function getDebugRefresh (path, query, routeOptions) { ...@@ -60,7 +60,7 @@ function getDebugRefresh (path, query, routeOptions) {
} }
} }
export function createWebview (path, routeOptions, query) { export function createWebview (path, routeOptions) {
if (routeOptions.meta.isNVue) { if (routeOptions.meta.isNVue) {
const webviewId = id++ const webviewId = id++
const webviewStyle = parseWebviewStyle( const webviewStyle = parseWebviewStyle(
...@@ -68,7 +68,6 @@ export function createWebview (path, routeOptions, query) { ...@@ -68,7 +68,6 @@ export function createWebview (path, routeOptions, query) {
path, path,
routeOptions routeOptions
) )
webviewStyle.debugRefresh = getDebugRefresh(path, query, routeOptions)
if (process.env.NODE_ENV !== 'production') { if (process.env.NODE_ENV !== 'production') {
console.log(`[uni-app] createWebview`, webviewId, path, webviewStyle) console.log(`[uni-app] createWebview`, webviewId, path, webviewStyle)
} }
...@@ -91,7 +90,9 @@ export function initWebview (webview, routeOptions, path, query) { ...@@ -91,7 +90,9 @@ export function initWebview (webview, routeOptions, path, query) {
'', '',
routeOptions routeOptions
) )
if (!routeOptions.meta.isNVue) {
webviewStyle.debugRefresh = getDebugRefresh(path, query, routeOptions) webviewStyle.debugRefresh = getDebugRefresh(path, query, routeOptions)
}
if (process.env.NODE_ENV !== 'production') { if (process.env.NODE_ENV !== 'production') {
console.log(`[uni-app] updateWebview`, webviewStyle) console.log(`[uni-app] updateWebview`, webviewStyle)
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册