Commit 2979fd8c by tang

feat: 首页查询跳转

parent bb5e2c13
...@@ -212,6 +212,18 @@ export default { ...@@ -212,6 +212,18 @@ export default {
components: { components: {
Vcode, Vcode,
}, },
created() {
if(this.$route.query.infoType){
if(this.$route.query.infoType === 'product'){
this.activeName = 'second'
this.productSearch.code = this.$route.query.keyword
}else if(this.$route.query.infoType === 'company'){
this.activeName = 'first'
this.company = NAME
this.companySearch.name = this.$route.query.keyword
}
}
},
methods: { methods: {
// 点击此处进行验证 // 点击此处进行验证
handleVerification() { handleVerification() {
......
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