Commit 4338daf0 by 唐玉峰

..

parent 5fa364f5
......@@ -86,7 +86,7 @@
<el-form :model="formData" label-width="15px" label-position="left" ref="formData" class="formData">
<el-table
ref="multipleTable"
row-key="id"
row-key="uidd"
:data="formData.tableList"
height="100%"
style="width: 100%"
......@@ -588,11 +588,14 @@ export default {
if (queue.length > 0) {
[...queue].forEach((child, i) => {
child.customIndex = i;
child.uidd = this.$uuid();
if (child.children && child.children.length > 0) {
child.children.map((item, i) => {
item.uidd = this.$uuid();
item.customIndex = child.customIndex + ".children." + i;
if (item.children && item.children.length > 0) {
item.children.map((el, i) => {
el.uidd = this.$uuid();
el.customIndex = item.customIndex + ".children." + i;
});
}
......@@ -1253,10 +1256,10 @@ export default {
}
});
// this.getlefttime();
// this.getTableData();
setTimeout(() => {
location.reload();
}, 5500);
this.getTableData();
// setTimeout(() => {
// location.reload();
// }, 5500);
})
.catch((error) => {});
......
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