From c8f9d5977cc950592f0ccfea01237eccde506350 Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期一, 04 三月 2024 09:12:21 +0800 Subject: [PATCH] no message --- CoreCms.Net.Web.Admin/wwwroot/views/shop/store/create.html | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/shop/store/create.html b/CoreCms.Net.Web.Admin/wwwroot/views/shop/store/create.html index 8e0758e..aef6192 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/shop/store/create.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/shop/store/create.html @@ -92,7 +92,7 @@ str += "<select lay-ignore name='areaId_" + (i + 1) + "' dep='" + (i + 1) + "' class='select-address'>"; str += "<option value='' >璇烽�夋嫨</option>"; $.each(n.list, function (h, z) { - if (n.hasOwnProperty('info') && n.info.id == z.id) { + if (n.hasOwnProperty('info') && n.info?.id == z.id) { str += "<option value='" + z.id + "' selected='selected'>" + z.name + "</option>"; } else { str += "<option value='" + z.id + "' >" + z.name + "</option>"; -- Gitblit v1.9.1