From 063e40d8f159f6d02a7ac421d8f3fb1c694d7aab Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期三, 06 三月 2024 08:49:42 +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