|
|
@@ -72,10 +72,14 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
init () {
|
|
|
- if (this.currentPage.indexOf('/database') > -1) {
|
|
|
+ if (this.currentPage.indexOf('/task') > -1) {
|
|
|
this.active = 1
|
|
|
- } else if (this.currentPage.indexOf('/recycle') > -1) {
|
|
|
+ } else if (this.currentPage.indexOf('/database') > -1) {
|
|
|
this.active = 2
|
|
|
+ } else if (this.currentPage.indexOf('/recycle') > -1) {
|
|
|
+ this.active = 3
|
|
|
+ } else {
|
|
|
+ this.active = 0
|
|
|
}
|
|
|
},
|
|
|
navClick (item, index) {
|