|
|
@ -89,46 +89,33 @@ export default { |
|
|
|
TaskPanel: { height: '100' }, |
|
|
|
}, |
|
|
|
], |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
addTopList() { |
|
|
|
const item = [ |
|
|
|
addList: [ |
|
|
|
{ |
|
|
|
state: 0, |
|
|
|
plugins: [[{ pluginId: '111' }], [{ pluginId: '222' }]], |
|
|
|
TaskPanel: { height: '100' }, |
|
|
|
}, |
|
|
|
{ |
|
|
|
state: 0, |
|
|
|
plugins: [[{ pluginId: '111' }], [{ pluginId: '222' }]], |
|
|
|
TaskPanel: { height: '100' }, |
|
|
|
}, |
|
|
|
{ |
|
|
|
state: 0, |
|
|
|
plugins: [[{ pluginId: '111' }], [{ pluginId: '333' }]], |
|
|
|
TaskPanel: { height: '100' }, |
|
|
|
}, |
|
|
|
]; |
|
|
|
this.list = item.concat(this.list); |
|
|
|
console.log('this.list: ', this.list); |
|
|
|
], |
|
|
|
}; |
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
addTopList() { |
|
|
|
this.list = this.addList.concat(this.list); |
|
|
|
}, |
|
|
|
|
|
|
|
addBottomList() { |
|
|
|
const item = [ |
|
|
|
{ |
|
|
|
state: 0, |
|
|
|
plugins: [[{ pluginId: '111' }], [{ pluginId: '333' }]], |
|
|
|
}, |
|
|
|
{ |
|
|
|
state: 0, |
|
|
|
plugins: [[{ pluginId: '111' }], [{ pluginId: '333' }]], |
|
|
|
}, |
|
|
|
{ |
|
|
|
state: 0, |
|
|
|
plugins: [[{ pluginId: '111' }]], |
|
|
|
}, |
|
|
|
]; |
|
|
|
this.list = this.list.concat(item); |
|
|
|
console.log('this.list: ', this.list); |
|
|
|
this.list = this.list.concat(this.addList); |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|