统计热词
@@ -28,12 +28,12 @@ export default {
},
methods: {
blurUpset (textCont) {
+ /*eslint-disable*/
console.log(textCont, '3523')
- this.searchContext = textCont
- if (this.searchContext === '') {
- alert('搜索词不能为空!')
- return
- }
+ // if (this.searchContext === '') {
+ // alert('搜索词不能为空!')
+ // return
+ // }
if (this.$route.path === '/searchList') {
this.$router.push({
path: '/'
@@ -41,7 +41,7 @@ export default {
this.$router.push({
path: './searchList',
query: {
- keyVal: !textCont.target ? textCont : this.searchContext
+ keyVal: textCont?textCont:this.searchContext
}
})
this.$router.go(0)
@@ -49,7 +49,7 @@ export default {
this.$router.push({
path: './searchList',
query: {
- keyVal: !textCont.target ? textCont : this.searchContext
+ keyVal: textCont?textCont:this.searchContext
}
})
}
diff --git a/src/views/datasweb/Datasweb.vue b/src/views/datasweb/Datasweb.vue
index d979e74..fe054b2 100644
--- a/src/views/datasweb/Datasweb.vue
+++ b/src/views/datasweb/Datasweb.vue
@@ -1502,6 +1502,7 @@ export default {
& > .data_center:hover {
cursor: w-resize;
+ cursor: e-resize;
user-select: none;
}
& > .data_right {
diff --git a/src/views/searchList/SearchList.vue b/src/views/searchList/SearchList.vue
index a0cf8a5..f8acb86 100644
--- a/src/views/searchList/SearchList.vue
+++ b/src/views/searchList/SearchList.vue
@@ -212,6 +212,8 @@ export default {
this.searchData = arrts
this.pageConfiguration.countSize = parseInt(res.data.data.total)
console.log(this.pageConfiguration)
+ }else{
+ alert(res.data.message)
}
}).catch((fail) => {
console.log(fail)
@@ -236,6 +238,8 @@ export default {
})
arrts.push({ 'id': '-全部-', 'name': '-全部-', 'parentId': '100000', 'shortName': '北京', 'cityCode': '' })
this.cityData = arrts
+ }else{
+ alert(res.data.message)
}
}).catch((fail) => {
console.log(fail)