diff --git a/WebApplication3/app/controller/ImageDataController.js b/WebApplication3/app/controller/ImageDataController.js index 2acaaba..46d28a9 100644 --- a/WebApplication3/app/controller/ImageDataController.js +++ b/WebApplication3/app/controller/ImageDataController.js @@ -103,7 +103,7 @@ AIA.controller("ImageDataController", ["$rootScope", "ImageService","DataService var imgData = ctx.getImageData(0, 0, $rootScope.JsonDataArray[i].width, $rootScope.JsonDataArray[i].height); $rootScope.maskImageData.push({ "DataForMciImage": imgData.data, "MciImageName": $rootScope.JsonDataArray[i].imageName, "MciImageBodyRegionID": $rootScope.JsonDataArray[i].bodyRegionID }); - txtContent.textContent = JSON.stringify($rootScope.maskImageData); + txtArea.textContent = JSON.stringify($rootScope.maskImageData); break; //console.log(JSON.stringify($rootScope.maskImageData)); diff --git a/WebApplication3/index.html b/WebApplication3/index.html index 050fc85..a33e858 100644 --- a/WebApplication3/index.html +++ b/WebApplication3/index.html @@ -11,17 +11,10 @@
- > + -