提交 1430652d 编写于 作者: fxy060608's avatar fxy060608

build:v3

上级 eb992ac4
......@@ -7939,6 +7939,14 @@ var serviceContext = (function () {
return str
}
function getUniPageUrl (path, query) {
const queryString = query ? stringifyQuery(query, noop$1) : '';
return {
path: path.substr(1),
query: queryString ? queryString.substr(1) : queryString
}
}
function getDebugRefresh (path, query, routeOptions) {
const queryString = query ? stringifyQuery(query, noop$1) : '';
return {
......@@ -7958,7 +7966,7 @@ var serviceContext = (function () {
path,
routeOptions
);
webviewStyle.debugRefresh = getDebugRefresh(path, query, routeOptions);
webviewStyle.uniPageUrl = getUniPageUrl(path, query);
if (process.env.NODE_ENV !== 'production') {
console.log(`[uni-app] createWebview`, webviewId, path, webviewStyle);
}
......@@ -7981,7 +7989,12 @@ var serviceContext = (function () {
'',
routeOptions
);
webviewStyle.debugRefresh = getDebugRefresh(path, query, routeOptions);
webviewStyle.uniPageUrl = getUniPageUrl(path, query);
if (!routeOptions.meta.isNVue) {
webviewStyle.debugRefresh = getDebugRefresh(path, query, routeOptions);
}
if (process.env.NODE_ENV !== 'production') {
console.log(`[uni-app] updateWebview`, webviewStyle);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册