diff --git a/Server/Git/XlsxToJson.cs b/Server/Git/XlsxToJson.cs index 437c69e..22cf70d 100644 --- a/Server/Git/XlsxToJson.cs +++ b/Server/Git/XlsxToJson.cs @@ -31,7 +31,14 @@ namespace Server.Git break; case "all": string name = sheets[m].name; - Dictionary> clientSheet = new Dictionary>(sheets[m].dicViewer); + Dictionary> clientSheet = new Dictionary>(); + + foreach (KeyValuePair> item in sheets[m].dicViewer) + { + clientSheet.Add(item.Key, new Dictionary(item.Value)); + } + + for (int i = 1; i < sheets[m].dataEnum.Count; i++) { if (sheets[m].dataEnum[i] == "server")