有关返回上一页go和back的区别
go:
this.
r
o
u
t
e
r
.
g
o
(
−
1
)
后
退
+
刷
新
t
h
i
s
.
router.go(-1) 后退+刷新 this.
router.go(−1)后退+刷新this.router.go(0) 刷新
this.
r
o
u
t
e
r
.
g
o
(
1
)
前
进
b
a
c
k
:
t
h
i
s
.
router.go(1) 前进 back: this.
router.go(1)前进back:this.router.back() 后退
this.
r
o
u
t
e
r
.
b
a
c
k
(
0
)
刷
新
t
h
i
s
.
router.back(0) 刷新 this.
router.back(0)刷新this.router.back(1) 前进