Skip to content

Commit ef41ee3

Browse files
jay-qianjueBeiQiaoT
authored andcommitted
fix(route.js):调用方法错误
1 parent 65bd3b1 commit ef41ee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uview-ui/libs/function/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Router {
5454
mergeConfig.url = this.mixinParam(options, params)
5555
mergeConfig.type = 'navigateTo'
5656
} else {
57-
mergeConfig = uni.$u.deepClone(options, this.config)
57+
mergeConfig = uni.$u.deepMerge(options, this.config)
5858
// 否则正常使用mergeConfig中的url和params进行拼接
5959
mergeConfig.url = this.mixinParam(options.url, options.params)
6060
}

0 commit comments

Comments
 (0)