Commit 393da7d7 authored by xiejb's avatar xiejb

修改路由c跳转参数传递方式

parent 8c5d23e5
......@@ -71,7 +71,7 @@ export default {
// console.log()
this.$router.push({
path: '/invoiecDetail',
query: window.location.href.split('?')[1]
query: this.$store.state.linkInfo
});
},
onBrowserBack() {
......
......@@ -116,10 +116,10 @@ export default {
},
// 查看发票
gotoOrderInvoice(model) {
// console.log()
this.$router.push({
// console.log(window.location.href.split('?')[1])
this.$router.push({
path: '/orderInvoice',
query: window.location.href.split('?')[1]
query: this.$store.state.linkInfo
});
},
onBrowserBack() {
......
......@@ -70,7 +70,7 @@ export default {
// console.log()
this.$router.push({
path: '/orderInvoiecDetail',
query: window.location.href.split('?')[1]
query: this.$store.state.linkInfo
});
},
onBrowserBack() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment