Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_38335589
uni-app
提交
cb994014
U
uni-app
项目概览
weixin_38335589
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
cb994014
编写于
9月 14, 2020
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore(h5): vue-router
上级
28b28e6d
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
70 addition
and
25 deletion
+70
-25
packages/vue-cli-plugin-uni/packages/h5-vue-router/dist/vue-router.common.js
...ugin-uni/packages/h5-vue-router/dist/vue-router.common.js
+23
-8
packages/vue-cli-plugin-uni/packages/h5-vue-router/dist/vue-router.esm.js
...-plugin-uni/packages/h5-vue-router/dist/vue-router.esm.js
+23
-8
packages/vue-cli-plugin-uni/packages/h5-vue-router/dist/vue-router.js
...-cli-plugin-uni/packages/h5-vue-router/dist/vue-router.js
+23
-8
packages/vue-cli-plugin-uni/packages/h5-vue-router/dist/vue-router.min.js
...-plugin-uni/packages/h5-vue-router/dist/vue-router.min.js
+1
-1
未找到文件。
packages/vue-cli-plugin-uni/packages/h5-vue-router/dist/vue-router.common.js
浏览文件 @
cb994014
...
...
@@ -2228,9 +2228,15 @@ var HTML5History = (function (History$$1) {
HTML5History
.
prototype
.
push
=
function
push
(
location
,
onComplete
,
onAbort
)
{
var
this
$1
=
this
;
if
(
typeof
location
===
'
object
'
)
{
// fixed by xxxxxx
if
(
typeof
location
===
'
object
'
)
{
// fixed by xxxxxx
location
.
params
=
location
.
params
||
{};
var
hasId
=
location
.
params
.
__id__
;
switch
(
location
.
type
)
{
case
'
navigateTo
'
:
case
'
navigateTo
'
:
if
(
!
hasId
)
{
this
.
router
.
id
++
;
}
break
case
'
redirectTo
'
:
case
'
reLaunch
'
:
this
.
router
.
id
++
;
...
...
@@ -2238,8 +2244,9 @@ var HTML5History = (function (History$$1) {
case
'
switchTab
'
:
break
}
location
.
params
=
location
.
params
||
{};
location
.
params
.
__id__
=
this
.
router
.
id
;
if
(
!
hasId
)
{
location
.
params
.
__id__
=
this
.
router
.
id
;
}
}
var
ref
=
this
;
...
...
@@ -2369,9 +2376,15 @@ var HashHistory = (function (History$$1) {
HashHistory
.
prototype
.
push
=
function
push
(
location
,
onComplete
,
onAbort
)
{
var
this
$1
=
this
;
if
(
typeof
location
===
'
object
'
)
{
// fixed by xxxxxx
if
(
typeof
location
===
'
object
'
)
{
// fixed by xxxxxx
location
.
params
=
location
.
params
||
{};
var
hasId
=
location
.
params
.
__id__
;
switch
(
location
.
type
)
{
case
'
navigateTo
'
:
case
'
navigateTo
'
:
if
(
!
hasId
)
{
this
.
router
.
id
++
;
}
break
case
'
redirectTo
'
:
case
'
reLaunch
'
:
this
.
router
.
id
++
;
...
...
@@ -2379,8 +2392,10 @@ var HashHistory = (function (History$$1) {
case
'
switchTab
'
:
break
}
location
.
params
=
location
.
params
||
{};
location
.
params
.
__id__
=
this
.
router
.
id
;
if
(
!
hasId
)
{
location
.
params
.
__id__
=
this
.
router
.
id
;
}
}
var
ref
=
this
;
...
...
packages/vue-cli-plugin-uni/packages/h5-vue-router/dist/vue-router.esm.js
浏览文件 @
cb994014
...
...
@@ -2226,9 +2226,15 @@ var HTML5History = (function (History$$1) {
HTML5History
.
prototype
.
push
=
function
push
(
location
,
onComplete
,
onAbort
)
{
var
this
$1
=
this
;
if
(
typeof
location
===
'
object
'
)
{
// fixed by xxxxxx
if
(
typeof
location
===
'
object
'
)
{
// fixed by xxxxxx
location
.
params
=
location
.
params
||
{};
var
hasId
=
location
.
params
.
__id__
;
switch
(
location
.
type
)
{
case
'
navigateTo
'
:
case
'
navigateTo
'
:
if
(
!
hasId
)
{
this
.
router
.
id
++
;
}
break
case
'
redirectTo
'
:
case
'
reLaunch
'
:
this
.
router
.
id
++
;
...
...
@@ -2236,8 +2242,9 @@ var HTML5History = (function (History$$1) {
case
'
switchTab
'
:
break
}
location
.
params
=
location
.
params
||
{};
location
.
params
.
__id__
=
this
.
router
.
id
;
if
(
!
hasId
)
{
location
.
params
.
__id__
=
this
.
router
.
id
;
}
}
var
ref
=
this
;
...
...
@@ -2367,9 +2374,15 @@ var HashHistory = (function (History$$1) {
HashHistory
.
prototype
.
push
=
function
push
(
location
,
onComplete
,
onAbort
)
{
var
this
$1
=
this
;
if
(
typeof
location
===
'
object
'
)
{
// fixed by xxxxxx
if
(
typeof
location
===
'
object
'
)
{
// fixed by xxxxxx
location
.
params
=
location
.
params
||
{};
var
hasId
=
location
.
params
.
__id__
;
switch
(
location
.
type
)
{
case
'
navigateTo
'
:
case
'
navigateTo
'
:
if
(
!
hasId
)
{
this
.
router
.
id
++
;
}
break
case
'
redirectTo
'
:
case
'
reLaunch
'
:
this
.
router
.
id
++
;
...
...
@@ -2377,8 +2390,10 @@ var HashHistory = (function (History$$1) {
case
'
switchTab
'
:
break
}
location
.
params
=
location
.
params
||
{};
location
.
params
.
__id__
=
this
.
router
.
id
;
if
(
!
hasId
)
{
location
.
params
.
__id__
=
this
.
router
.
id
;
}
}
var
ref
=
this
;
...
...
packages/vue-cli-plugin-uni/packages/h5-vue-router/dist/vue-router.js
浏览文件 @
cb994014
...
...
@@ -2232,9 +2232,15 @@ var HTML5History = (function (History$$1) {
HTML5History
.
prototype
.
push
=
function
push
(
location
,
onComplete
,
onAbort
)
{
var
this
$1
=
this
;
if
(
typeof
location
===
'
object
'
)
{
// fixed by xxxxxx
if
(
typeof
location
===
'
object
'
)
{
// fixed by xxxxxx
location
.
params
=
location
.
params
||
{};
var
hasId
=
location
.
params
.
__id__
;
switch
(
location
.
type
)
{
case
'
navigateTo
'
:
case
'
navigateTo
'
:
if
(
!
hasId
)
{
this
.
router
.
id
++
;
}
break
case
'
redirectTo
'
:
case
'
reLaunch
'
:
this
.
router
.
id
++
;
...
...
@@ -2242,8 +2248,9 @@ var HTML5History = (function (History$$1) {
case
'
switchTab
'
:
break
}
location
.
params
=
location
.
params
||
{};
location
.
params
.
__id__
=
this
.
router
.
id
;
if
(
!
hasId
)
{
location
.
params
.
__id__
=
this
.
router
.
id
;
}
}
var
ref
=
this
;
...
...
@@ -2373,9 +2380,15 @@ var HashHistory = (function (History$$1) {
HashHistory
.
prototype
.
push
=
function
push
(
location
,
onComplete
,
onAbort
)
{
var
this
$1
=
this
;
if
(
typeof
location
===
'
object
'
)
{
// fixed by xxxxxx
if
(
typeof
location
===
'
object
'
)
{
// fixed by xxxxxx
location
.
params
=
location
.
params
||
{};
var
hasId
=
location
.
params
.
__id__
;
switch
(
location
.
type
)
{
case
'
navigateTo
'
:
case
'
navigateTo
'
:
if
(
!
hasId
)
{
this
.
router
.
id
++
;
}
break
case
'
redirectTo
'
:
case
'
reLaunch
'
:
this
.
router
.
id
++
;
...
...
@@ -2383,8 +2396,10 @@ var HashHistory = (function (History$$1) {
case
'
switchTab
'
:
break
}
location
.
params
=
location
.
params
||
{};
location
.
params
.
__id__
=
this
.
router
.
id
;
if
(
!
hasId
)
{
location
.
params
.
__id__
=
this
.
router
.
id
;
}
}
var
ref
=
this
;
...
...
packages/vue-cli-plugin-uni/packages/h5-vue-router/dist/vue-router.min.js
浏览文件 @
cb994014
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录