소스 검색

图片地址

1178232204@qq.com 3 년 전
부모
커밋
117bd501ae
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  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({
         /****