diff --git a/pages/API/get-app/get-app.uvue b/pages/API/get-app/get-app.uvue index dbea3b1dd43992704705cdfaf725889f38871e94..b697a0862d13df9c94bbfa7a54a8c0eb9993ca95 100644 --- a/pages/API/get-app/get-app.uvue +++ b/pages/API/get-app/get-app.uvue @@ -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