-
+
@@ -44,7 +44,7 @@ export default {
cirIcon: require('./img/xz.png'),
checkIcon: require('./img/xzh.png'),
selected: [],
- cursor: null
+ cursor: {}
}
},
computed: {
@@ -96,8 +96,8 @@ export default {
},
changeList(item) {
if (item == "all") {
+ this.cursor = {}
this.list = this.depts.tree
- this.cursor = null
} else {
this.cursor = item
this.list = item.children