Commit b0b4d286 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化数据引擎列表显示

parent d1924a90
......@@ -196,20 +196,20 @@ export default {
},
letTableData() {
let arr = this.data.slice(0, 5);
if (arr.length) {
while (arr.length < 5) {
arr.push(null);
}
}
// if (arr.length) {
// while (arr.length < 5) {
// arr.push(null);
// }
// }
return arr;
},
rightTableData() {
let arr = this.data.slice(5, 10);
if (arr.length) {
while (arr.length < 5) {
arr.push(null);
}
}
// if (arr.length) {
// while (arr.length < 5) {
// arr.push(null);
// }
// }
return arr;
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment