Commit 393da7d7 authored by xiejb's avatar xiejb

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

parent 8c5d23e5
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
// console.log() // console.log()
this.$router.push({ this.$router.push({
path: '/invoiecDetail', path: '/invoiecDetail',
query: window.location.href.split('?')[1] query: this.$store.state.linkInfo
}); });
}, },
onBrowserBack() { onBrowserBack() {
......
...@@ -116,10 +116,10 @@ export default { ...@@ -116,10 +116,10 @@ export default {
}, },
// 查看发票 // 查看发票
gotoOrderInvoice(model) { gotoOrderInvoice(model) {
// console.log() // console.log(window.location.href.split('?')[1])
this.$router.push({ this.$router.push({
path: '/orderInvoice', path: '/orderInvoice',
query: window.location.href.split('?')[1] query: this.$store.state.linkInfo
}); });
}, },
onBrowserBack() { onBrowserBack() {
......
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
// console.log() // console.log()
this.$router.push({ this.$router.push({
path: '/orderInvoiecDetail', path: '/orderInvoiecDetail',
query: window.location.href.split('?')[1] query: this.$store.state.linkInfo
}); });
}, },
onBrowserBack() { 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