1178232204@qq.com 3 éve
szülő
commit
117bd501ae
1 módosított fájl, 5 hozzáadás és 4 törlés
  1. 5 4
      src/js/util.js

+ 5 - 4
src/js/util.js

@@ -1,3 +1,7 @@
+require('../images/toast-1.png').replace(/^undefined/g, '');
+require('../images/toast-2.png').replace(/^undefined/g, '');
+require('../images/toast-3.png').replace(/^undefined/g, '');
+require('../images/toast-4.png').replace(/^undefined/g, '');
 const transConf = function (arr) {
     window.arr = arr;
     // var arr = [
@@ -57,10 +61,7 @@ function toggleWarnBox(text) {
         $(".warning-box").hide();
     }
 }
-require('../images/toast-1.png').replace(/^undefined/g, '');
-require('../images/toast-2.png').replace(/^undefined/g, '');
-require('../images/toast-3.png').replace(/^undefined/g, '');
-require('../images/toast-4.png').replace(/^undefined/g, '');
+
 (function () {
     $.extend({
         /****