From ecba6cab0840a9014b4e6e96f2f7b89070cc60e1 Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期三, 02 十一月 2022 09:13:52 +0800 Subject: [PATCH] 更新编辑短信错误 --- web/web/gwspupdate.aspx.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/web/web/gwspupdate.aspx.cs b/web/web/gwspupdate.aspx.cs index 8f9eaf0..254d9e7 100644 --- a/web/web/gwspupdate.aspx.cs +++ b/web/web/gwspupdate.aspx.cs @@ -214,7 +214,7 @@ else { foreach (GwClient gwClient in list) - str = !(clientId == gwClient.ClientID) ? str + string.Format("<option value=\"{0}\">{1}</option>", (object)gwClient.ClientID, (object)gwClient.Company) : str + string.Format("<option value=\"{0}\" selected>{1}</option>", (object)gwClient.ClientID, (object)gwClient.Company); + str = !(clientId == gwClient.ClientID) ? str + string.Format("<option value=\"{0}\">{1}</option>", (object)gwClient.ClientID, (object)gwClient.ClientID) : str + string.Format("<option value=\"{0}\" selected>{1}</option>", (object)gwClient.ClientID, (object)gwClient.ClientID); } return str; } -- Gitblit v1.9.1