rabin 3 年之前
父節點
當前提交
7fc5d860b6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/shop/assets/pc/html/setGoods.html

+ 1 - 1
app/shop/assets/pc/html/setGoods.html

@@ -349,7 +349,7 @@
                         price = node.price_template_sku[id].price_sell;
                         price_num = node.price_template_sku[id].price_num;
                     }
-                    if (price == 'null') {
+                    if (price == 'null' || price == null || !price) {
                         price = node.price;
                     }
                     selected = '';