upgrade
This commit is contained in:
@ -91,14 +91,14 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
data () {
|
||||
return {
|
||||
socialInfo: false,
|
||||
searchVal: ''
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
info(type) {
|
||||
info (type) {
|
||||
if (type === 'qq') {
|
||||
this.socialInfo = 'QQ: 373226722'
|
||||
} else if (type === 'weixin') {
|
||||
@ -111,8 +111,8 @@ export default {
|
||||
this.socialInfo = false
|
||||
}, 3000)
|
||||
},
|
||||
search() {
|
||||
if (this.searchVal !== '') this.$router.push({ path: 'search?q=' + this.searchVal })
|
||||
search () {
|
||||
if (this.searchVal !== '') { this.$router.push({ path: 'search?q=' + this.searchVal }) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user