wesley преди 7 години
родител
ревизия
69628f2afb
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      resources/views/admin/base/index/index.blade.php

+ 1 - 1
resources/views/admin/base/index/index.blade.php

xqd
@@ -187,8 +187,8 @@
                 dataType: 'json',
                 success: function (res) {
                     console.log(res)
+                    $('.cart-waring').html(res.count);
                     if (res.code == 0) {
-                        $('.cart-waring').html(res.count);
                         playSound();
                     }