From 29045b28aed633b6fc3a5d8644a444c9726b4e17 Mon Sep 17 00:00:00 2001
From: liaoxujun@qq.com <liaoxujun@qq.com>
Date: 星期一, 04 三月 2024 09:12:30 +0800
Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/baifenbaishop
---
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