Skip to content

Commit

Permalink
fix(route.js):修复方法调用错误的问题 (umicro#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-qianjue committed Jul 2, 2022
1 parent 8259a21 commit cbb57e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uni_modules/uview-ui/libs/util/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Router {
mergeConfig.url = this.mixinParam(options, params)
mergeConfig.type = 'navigateTo'
} else {
mergeConfig = uni.$u.deepClone(options, this.config)
mergeConfig = uni.$u.deepMerge(options, this.config)
// 否则正常使用mergeConfig中的url和params进行拼接
mergeConfig.url = this.mixinParam(options.url, options.params)
}
Expand Down

0 comments on commit cbb57e7

Please sign in to comment.