We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 852c5f8 commit 62901baCopy full SHA for 62901ba
src/components/app.vue
@@ -116,15 +116,12 @@
116
},
117
data () {
118
return {
119
+ visiable: this.currentDeep <= this.deep,
120
treeContentBackground: 'transparent',
121
checkboxVal: this.pathChecked.includes(this.path) // 复选框的值
122
}
123
124
computed: {
- // 当前树是否可展开
125
- visiable () {
126
- return this.currentDeep <= this.deep
127
- },
128
// 获取当前 data 中最后一项的 key 或 索引, 便于界面判断是否添加 ","
129
lastIndex () {
130
if (Array.isArray(this.parentData)) {
0 commit comments