Bladeren bron

图片显示

1178232204@qq.com 3 jaren geleden
bovenliggende
commit
64c7de115c
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 4 4
      src/js/util.js

+ 4 - 4
src/js/util.js

@@ -75,10 +75,10 @@ function toggleWarnBox(text) {
                 $("#toast").remove()
             }
             var typeClass = {
-                'toast1': require('./../images/toast-1.png').replace(/^undefined/g, ''),
-                'toast2': require('./../images/toast-2.png').replace(/^undefined/g, ''),
-                'toast3': require('./../images/toast-3.png').replace(/^undefined/g, ''),
-                'toast4': require('./../images/toast-4.png').replace(/^undefined/g, ''),
+                toast1: require('./../images/toast-1.png').replace(/^undefined/g, ''),
+                toast2: require('./../images/toast-2.png').replace(/^undefined/g, ''),
+                toast3: require('./../images/toast-3.png').replace(/^undefined/g, ''),
+                toast4: require('./../images/toast-4.png').replace(/^undefined/g, ''),
               };
               console.log(type);
               if(type == 'toast1' || type == 'toast2'){