修改手机端返回跳到pc的首页

This commit is contained in:
范强强
2023-06-25 10:58:58 +08:00
parent 48aca58c0f
commit 5c10d3b3f7
@@ -271,9 +271,9 @@
query: {
searchValue: this.$route.query.searchValue,
activeTab: this.$route.query.activeTab,
searchFlowType:this.$route.query.searchFlowType,
checked:this.$route.query.checked,
selectModel:this.$route.query.selectModel,
searchFlowType: this.$route.query.searchFlowType,
checked: this.$route.query.checked,
selectModel: this.$route.query.selectModel
}
})
} else {
@@ -458,7 +458,20 @@
if (res.success) {
this.$message.success(this.$t('OperationSuccessful'))
this.show = false
this.$router.go(-1)
if (this.$route.query.goRouter) {
this.$router.push({
path: this.$route.query.goRouter,
query: {
searchValue: this.$route.query.searchValue,
activeTab: this.$route.query.activeTab,
searchFlowType: this.$route.query.searchFlowType,
checked: this.$route.query.checked,
selectModel: this.$route.query.selectModel
}
})
} else {
this.$router.go(-1)
}
} else {
this.show = false
this.$message.warning(res.message)