fanxw 2 роки тому
батько
коміт
4ac6483715

+ 1 - 1
src/main/resources/static/app/storage/product/controller/productCtrl.js

@@ -79,7 +79,7 @@ angular.module('app.storage').controller("productCtrl", function($scope, $rootSc
79 79
     			$scope.loadData();
80 80
             	alert("提交成功!");
81 81
             } else {
82
-            	alert("提交失败!");
82
+            	alert(data.msg);
83 83
             }
84 84
 		},function(data){
85 85
 			console.log(data);