Browse Source

fix:提示问题

super-yimizi 1 month ago
parent
commit
4de2b31f4e
1 changed files with 5 additions and 5 deletions
  1. 5 5
      public/assets/js/backend/shop/goods.js

+ 5 - 5
public/assets/js/backend/shop/goods.js

@@ -629,10 +629,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
             
             // 等待DOM完全加载后再执行
             $(document).ready(function() {
-                $('#c-category_id, #c-category_ids').on('change', function () {
-                    let category_id = $(this).val();
-                    that.getAttribute(category_id);
-                });
+                // $('#c-category_id, #c-category_ids').on('change', function () {
+                //     let category_id = $(this).val();
+                //     that.getAttribute(category_id);
+                // });
                 
                 // 初始化商品类型卡片交互
                 that.initGoodsTypeCards();
@@ -2210,7 +2210,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
 
         api: {
              // 解析Config中的JSON字符串的辅助函数
-             parseConfigJson: function(configKey, defaultValue) {
+            parseConfigJson: function(configKey, defaultValue) {
                 var configValue = Config[configKey] || defaultValue || {};
                 
                 // 如果是字符串,尝试解析JSON