Commit 63d63c78 authored by 仇晓婷's avatar 仇晓婷

合格证编辑bug

parent 1e0610ae
...@@ -264,6 +264,7 @@ export default { ...@@ -264,6 +264,7 @@ export default {
created() { created() {
this.addNew(); this.addNew();
this.isDisabled = true; this.isDisabled = true;
this.load(v);
}, },
methods: { methods: {
load(v) { load(v) {
...@@ -285,7 +286,7 @@ export default { ...@@ -285,7 +286,7 @@ export default {
}, },
handleSubmit() { handleSubmit() {
this.entity.items = this.checkList; this.entity.items = this.checkList;
this.entity.items.forEach((c) => { this.entity.items.forEach((c, index) => {
c.index = index; c.index = index;
return delete c.id; return delete c.id;
}); });
......
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