|
@@ -109,7 +109,7 @@ export default {
|
|
const component = {
|
|
const component = {
|
|
...newVal,
|
|
...newVal,
|
|
value: item.englishName,
|
|
value: item.englishName,
|
|
- id: String(+new Date()),
|
|
|
|
|
|
+ id: this.BaseTool.Util.getUUID(),
|
|
label: item.chineseName,
|
|
label: item.chineseName,
|
|
isDelete: false,
|
|
isDelete: false,
|
|
}
|
|
}
|
|
@@ -123,7 +123,7 @@ export default {
|
|
const val = {
|
|
const val = {
|
|
...JSON.parse(JSON.stringify(element)),
|
|
...JSON.parse(JSON.stringify(element)),
|
|
value: `${element.value}${this.num}`,
|
|
value: `${element.value}${this.num}`,
|
|
- id: String(+new Date()),
|
|
|
|
|
|
+ id: this.BaseTool.Util.getUUID(),
|
|
}
|
|
}
|
|
this.handleSelect(val)
|
|
this.handleSelect(val)
|
|
return val
|
|
return val
|