修改手机端返回跳到pc的首页
This commit is contained in:
@@ -271,9 +271,9 @@
|
|||||||
query: {
|
query: {
|
||||||
searchValue: this.$route.query.searchValue,
|
searchValue: this.$route.query.searchValue,
|
||||||
activeTab: this.$route.query.activeTab,
|
activeTab: this.$route.query.activeTab,
|
||||||
searchFlowType:this.$route.query.searchFlowType,
|
searchFlowType: this.$route.query.searchFlowType,
|
||||||
checked:this.$route.query.checked,
|
checked: this.$route.query.checked,
|
||||||
selectModel:this.$route.query.selectModel,
|
selectModel: this.$route.query.selectModel
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
@@ -458,7 +458,20 @@
|
|||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(this.$t('OperationSuccessful'))
|
this.$message.success(this.$t('OperationSuccessful'))
|
||||||
this.show = false
|
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 {
|
} else {
|
||||||
this.show = false
|
this.show = false
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user