调整大屏列表逻辑
This commit is contained in:
parent
c9fc984bc9
commit
8422889940
@ -174,6 +174,7 @@ export default {
|
||||
height: data.height
|
||||
};
|
||||
}
|
||||
data.offsetList.length = data.bigScreenSplitConfig.length + 1;
|
||||
if (data.offsetList && data.offsetList.length) {
|
||||
this.list = [];
|
||||
data.offsetList.forEach(item => {
|
||||
@ -189,6 +190,7 @@ export default {
|
||||
},
|
||||
deleteModel(list, index) {
|
||||
list.splice(index, 1);
|
||||
this.list.pop();
|
||||
this.clear();
|
||||
this.cardMode = 'generate';
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user