|
@@ -42,9 +42,9 @@ export default {
|
|
let iframe = document.getElementById(this.id)
|
|
let iframe = document.getElementById(this.id)
|
|
iframe.onload = () => {
|
|
iframe.onload = () => {
|
|
let arr = this.setData.map(i => ({
|
|
let arr = this.setData.map(i => ({
|
|
- key: i.Key,
|
|
|
|
- name: i.Name,
|
|
|
|
- type: i.Type
|
|
|
|
|
|
+ key: i.key,
|
|
|
|
+ name: i.name,
|
|
|
|
+ type: i.type
|
|
}))
|
|
}))
|
|
iframe.contentWindow.postMessage(arr, "*")
|
|
iframe.contentWindow.postMessage(arr, "*")
|
|
}
|
|
}
|