|
@@ -351,7 +351,10 @@ export default {
|
|
|
this.selectedList = list
|
|
this.selectedList = list
|
|
|
},
|
|
},
|
|
|
rowClick(res) {
|
|
rowClick(res) {
|
|
|
- this.currentRow = res
|
|
|
|
|
|
|
+ if (res.type === 2) {
|
|
|
|
|
+ this.currentRow = res
|
|
|
|
|
+ }
|
|
|
|
|
+ console.log(this.currentRow)
|
|
|
const tmp = this.list.find(ele => ele.id === res.id)
|
|
const tmp = this.list.find(ele => ele.id === res.id)
|
|
|
this.parentId = tmp.id
|
|
this.parentId = tmp.id
|
|
|
if (tmp && tmp.type !== 2) {
|
|
if (tmp && tmp.type !== 2) {
|