提交 ff0ca8d3 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

fix(web): 修复兼容问题

上级 8107cd97
......@@ -110,10 +110,10 @@
this.originGlobalData.obj = app.globalData.obj
this.originGlobalData.null = app.globalData.null
this.originGlobalData.arr = app.globalData.arr
app.globalData.mySet.forEach(value => {
app.globalData.mySet.forEach((value : string) => {
this.originGlobalData.mySet.push(value)
})
app.globalData.myMap.forEach((value, key) => {
app.globalData.myMap.forEach((value : any, key : string) => {
this.originGlobalData.myMap[key] = value
})
this.originGlobalData.func = app.globalData.func
......@@ -148,10 +148,10 @@
this.newGlobalData.obj = app.globalData.obj
this.newGlobalData.null = app.globalData.null
this.newGlobalData.arr = app.globalData.arr
app.globalData.mySet.forEach(value => {
app.globalData.mySet.forEach((value : string) => {
this.newGlobalData.mySet.push(value)
})
app.globalData.myMap.forEach((value, key) => {
app.globalData.myMap.forEach((value : any, key : string) => {
this.newGlobalData.myMap[key] = value
})
this.newGlobalData.func = app.globalData.func
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册