Commit ea4f5593 authored by 黄奎's avatar 黄奎

页面修改

parent c0f09b9a
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
if (this.searchData.CompData && this.searchData.CompData.OptionList) { if (this.searchData.CompData && this.searchData.CompData.OptionList) {
index = this.searchData.CompData.OptionList.length + 1; index = this.searchData.CompData.OptionList.length + 1;
this.searchData.CompData.OptionList.push({ this.searchData.CompData.OptionList.push({
Id: index.toString(), Id: index,
Name: "", Name: "",
}); });
} }
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
var tempData = JSON.parse(JSON.stringify(this.searchData.CompData.OptionList)); var tempData = JSON.parse(JSON.stringify(this.searchData.CompData.OptionList));
this.searchData.CompData.OptionList = []; this.searchData.CompData.OptionList = [];
tempData.forEach((item, index) => { tempData.forEach((item, index) => {
item.Id = (index + 1).toString(); item.Id = (index + 1);
this.searchData.CompData.OptionList.push(item); this.searchData.CompData.OptionList.push(item);
}) })
} }
......
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