From 24c7242181f02ff6bb5e98ebd42c734aea120c13 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期一, 20 五月 2024 15:37:03 +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 | 3 ++-
1 files changed, 2 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..09c4ffb 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>";
@@ -185,6 +185,7 @@
for (var x = i + 1; x <= 6; x++) { //鏈�澶�6灞傦紝瓒冲浜�
$("select[name='areaId_" + x + "']").remove();
}
+ debugger
var val = $("select[name='areaId_" + i + "']").val();
if (val != "") {
//鍙栧瓙鑺傜偣鏁版嵁锛岀劧鍚庢樉绀轰笅涓�绾�
--
Gitblit v1.9.1