feat: There is no way the, 搜索中心优化

This commit is contained in:
super_liu
2022-05-24 14:13:32 +08:00
parent dcac840800
commit a707908045
2 changed files with 12 additions and 1 deletions
@@ -20,6 +20,7 @@
v-model="checkStateType"
class="search-group-itemType"
placeholder="请选择"
@change="checkStateTypeFunc"
>
<el-option
v-for="item in jumpPageType"
@@ -93,6 +94,10 @@ export default {
computed: {},
watch: {},
methods: {
checkStateTypeFunc(data){
this.checkStateType = data
this.$forceUpdate()
},
checkStateFunc(data){
if(data === 'All'){
this.showType = true
@@ -358,7 +358,7 @@
},
data () {
return {
selectType: 'titleSearch',
selectType: '',
externalStatus:'',
itermsConditionsTitle1: '',
itermsConditionsTitle2: '',
@@ -2690,6 +2690,12 @@
}
},
mounted () {
let selectType = this.$route.params.allType
if(selectType !== undefined && selectType !== null && selectType !== ''){
this.selectType = selectType
}else {
this.selectType = 'titleSearch'
}
let external = localStorage.getItem("external");
if(external !== undefined && external !== null){
this.externalStatus = external