Commit 0e24ef6f authored by liwenhong's avatar liwenhong

add: level

parent 8e46519a
...@@ -227,12 +227,10 @@ export default { ...@@ -227,12 +227,10 @@ export default {
} }
}, },
addDomain() { addDomain() {
this.configForm.result.push({ this.configForm.result.push({});
value: '',
key: Date.now()
});
}, },
async handleSaveConfig() { async handleSaveConfig() {
this.configForm.result.map((item, index) => item.level = index+1)
this.listParams.config = this.configForm.result; this.listParams.config = this.configForm.result;
this.listParams.date = this.configForm.date; this.listParams.date = this.configForm.date;
let res = await yingxiaoSaveConfig(this.listParams) let res = await yingxiaoSaveConfig(this.listParams)
......
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