|
@@ -70,6 +70,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created () {
|
|
|
+ const { keyWords } = this.$route.query;
|
|
|
+ if (keyWords) {
|
|
|
+ this.keyword = keyWords;
|
|
|
+ }
|
|
|
this.fetchData()
|
|
|
},
|
|
|
methods: {
|
|
@@ -103,6 +107,7 @@ export default {
|
|
|
//清除搜索
|
|
|
clearSearchData () {
|
|
|
this.keyword = ''
|
|
|
+ this.$router.replace('/gateway')
|
|
|
this.fetchData()
|
|
|
},
|
|
|
removeCard (item) {
|