|
@@ -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'){
|