Skip to content

Commit

Permalink
fix(route.js):调用方法错误
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-qianjue authored and BeiQiaoT committed Jul 15, 2022
1 parent 65bd3b1 commit ef41ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uview-ui/libs/function/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,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 ef41ee3

Please sign in to comment.