dyjh 6 years ago
parent
commit
13bb89f8ca
1 changed files with 2 additions and 2 deletions
  1. 2 2
      resources/views/web/order/index.blade.php

+ 2 - 2
resources/views/web/order/index.blade.php

xqd
@@ -250,10 +250,10 @@
                 success:function (msg) {
                     var data = eval('('+msg+')');
                     console.log(data['msg']);
-                    if(msg.state ==1){
+                    if(data['state'] ==1){
                         alert('发送成功');
                     }else{
-                        alert(msg.msg);
+                        alert(data['msg']);
                     }
                 }
             });