From fcbdd13e64a2052c6bbf14e4f03cd43199780f0c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 23 May 2022 11:40:21 +0800
Subject: [PATCH] 20220518
---
src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html b/src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html
index 200bb4a..bfd4d27 100644
--- a/src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html
+++ b/src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html
@@ -563,11 +563,11 @@
if (goodsInfo.isSku == 1) {
$(".multi-sku-table").show();
- }
- var skus = goodsInfo.skus;
- for (let i = 0; i < skus.length; i++) {
- skus[i].index = i+1;
+ var skus = goodsInfo.skus;
+ for (let i = 0; i < skus.length; i++) {
+ skus[i].index = i+1;
+ }
}
for (let i = 0; i < images.length; i++) {
@@ -575,8 +575,6 @@
}
$('#demo2').append('<img src="' + goodsInfo.thumb + '" alt="" class="layui-upload-img" style="width: 100px">')
-
- console.log(goodsInfo.goodsDetails);
window.editor = E.createEditor({
html: goodsInfo.goodsDetails,
--
Gitblit v1.9.1